Template:Main Page Screenshot

From PZwiki
Jump to: navigation, search
[view] [edit] [history] [purge] Documentation icon Template documentation

To add a screenshot/caption:

  • Upload the file if it isn't on the wiki already.
  • Edit this page.
  • Change the following..
{{#switch:{{#ifexpr:{{{test|0}}}=1|{{{1}}}|{{rand|#}}}}
  • ..to be this:
{{#switch:{{#ifexpr:{{{test|0}}}=1|{{{1}}}|{{rand|#+1}}}}
  • Copy and paste the following between the last line of the page and the one before it:
|#=[[File:FILENAME.xyz|center|800px|500px|CAPTION]]''CAPTION''
  • Test your changes by inserting {{Main Page Screenshot|#|test=1}} onto a page and previewing, you should see your screenshot/caption.


Please do not use equals signs or vertical bars in your captions.

The above documentation is transcluded from Template:Main Page Screenshot/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please add categories to the /doc subpage. Subpages of this template.