Template:Main Page Screenshot: Difference between revisions

From PZwiki
mNo edit summary
No edit summary
Line 5: Line 5:
* Change <nowiki>{{rand|last #}}</nowiki> below to be <nowiki>{{rand|current # (last # + 1) }}</nowiki>.
* Change <nowiki>{{rand|last #}}</nowiki> below to be <nowiki>{{rand|current # (last # + 1) }}</nowiki>.
* Copy and paste the following between the last line of the page and the one before it:
* Copy and paste the following between the last line of the page and the one before it:
<pre>|# = {{#ifexpr: {{{cShow|0}}}=0 |FILE (include .format)|CAPTION}}</pre>
<pre>|#=[[File:FILENAME.xyz|center|800px|500px|CAPTION]]CAPTION</pre>
* Test your changes by inserting <nowiki>{{Main Page Screenshot|#|test=1}}</nowiki> onto a page and previewing, you should see your file name.
* Test your changes by inserting <nowiki>{{Main Page Screenshot|#|test=1}}</nowiki> onto a page and previewing, you should see your file name.


Please do not use equals signs or vertical bars in your captions.
Please do not use equals signs or vertical bars in your captions.
</noinclude><includeonly>{{#switch:{{#ifexpr:{{{test|0}}}=1|{{{1}}}|{{rand|3}}}}
</noinclude><includeonly>{{#switch:{{#ifexpr:{{{test|0}}}=1|{{{1}}}|{{rand|3}}}}
|1={{#ifexpr: {{{cShow|0}}}=0 |PzPic4.png|Caption1.}}
|1=[[File:PzPic4.png|center|800px|500px|Caption1.]]Caption1.
|2={{#ifexpr: {{{cShow|0}}}=0 |PzPic3.png|Caption2.}}
|2=[[File:PzPic3.png|center|800px|500px|Caption2.]]Caption2.
|3={{#ifexpr: {{{cShow|0}}}=0 |PzPic1.png|Caption3.}}
|3=[[File:PzPic1.png|center|800px|500px|Caption3.]]Caption3.
}}</includeonly>
}}</includeonly>

Revision as of 06:24, 7 October 2011

To add a screenshot/caption:

  • Upload the file if it isn't on the wiki already.
  • Edit this page.
  • Change {{rand|last #}} below to be {{rand|current # (last # + 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 file name.

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