Template:Fake read-only

From The Wiki Camp 2
Jump to navigation Jump to search

Makes editable page look like it's read only (like Gacha is). This template can only be used for hijinks, so it always assigns the category.

Has optional arguments:

  • nobuttons=true to hide everything on the right except Read. example: Uneditable Page
  • noedit=true to hide the edit buttons after a heading. Occasionally skipped on per-page CSS, so not included by default. example: Intentionally blank pages
  • special=true to make it look like a special page. example: Search Page That Can't Be Created
  • create=true to display as if the page does not exist yet.

Bonus tricks:

  • Add {{#css: #t-recentchangeslinked, #t-permalink {display: none;} }} to a page with {{fake read-only|create=1}
    • This leaves no indication of page existence. Will not be included by default
    • On other wikis, the default "Powered by MediaWiki" button may appear slightly lower on a real page, and Parsoid's "Report visual bug" tool has an icon next to it.
  • Keyboard shortcuts do not work on the Cosmos (Fandom-like) skin.

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
No buttonsnobuttons

Hides "View Source" and related.

Booleanoptional
Specialspecial

Makes it look like a special page.

Booleanoptional
No editnoedit

Hides the edit buttons after a heading.

Booleanoptional
Create buttonscreate

Hides most indicators the page exists.

Booleanoptional