Template:Main Page Screenshot: Difference between revisions

From PZwiki
No edit summary
No edit summary
Line 14: Line 14:


''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|4}}}}
</noinclude><includeonly>{{#switch:{{#ifexpr:{{{test|0}}}=1|{{{1}}}|{{rand|5}}}}
|1=[[File:PzPic4.png|center|800px|500px|Blood marks the pavement outside of a grocery store.]]''Blood marks the pavement outside of a grocery store.''
|1=[[File:PzPic4.png|center|800px|500px|Blood marks the pavement outside of a grocery store.]]''Blood marks the pavement outside of a grocery store.''
|2=[[File:PzPic3.png|center|800px|500px|Looting a newspaper stand.]]''Looting a newspaper stand.''
|2=[[File:PzPic3.png|center|800px|500px|Looting a newspaper stand.]]''Looting a newspaper stand.''
|3=[[File:PzPic1.png|center|800px|500px|Taking shelter in a small shed.]]''Taking shelter in a small shed.''
|3=[[File:PzPic1.png|center|800px|500px|Taking shelter in a small shed.]]''Taking shelter in a small shed.''
|4=[[File:Game_menu.png|center|800px|500px|Project Zomboid game menu.]]''Project Zomboid game menu.''
|4=[[File:Game_menu.png|center|800px|500px|Project Zomboid game menu.]]''Project Zomboid game menu.''
|5=[[File:PzwikiPic5.png|center|800px|500px|Character Setup Screen.]]''Character Setup Screen.''
}}</includeonly>
}}</includeonly>

Revision as of 03:06, 19 April 2012

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.