Template:Main Page Screenshot: Difference between revisions
m (Added two new pictures to the picture rotations. 1.shows off fire spread 2.shows off cooking custom recipes) |
No edit summary |
||
Line 1: | Line 1: | ||
<noinclude>{{documentation}}</noinclude><includeonly>{{#switch:{{#ifexpr:{{{test|0}}}=1|{{{1}}}|{{rand| | <noinclude>{{documentation}}</noinclude><includeonly>{{#switch:{{#ifexpr:{{{test|0}}}=1|{{{1}}}|{{rand|17}}}} | ||
|1=[[File:Pzwiki_pz2_5_2.png|center|800px|500px|Zombie mob outside the burger joint.]]''Zombie mob outside the burger joint.'' | |1=[[File:Pzwiki_pz2_5_2.png|center|800px|500px|Zombie mob outside the burger joint.]]''Zombie mob outside the burger joint.'' | ||
|2=[[File:Sandbox_Options.png|center|800px|500px|Options in Sandbox Mode.]]''Options in Sandbox Mode.'' | |2=[[File:Sandbox_Options.png|center|800px|500px|Options in Sandbox Mode.]]''Options in Sandbox Mode.'' | ||
Line 7: | Line 7: | ||
|6=[[File:Facinghorde.png|center|800px|500px|Facing the zombie horde.]]''Facing the zombie horde.'' | |6=[[File:Facinghorde.png|center|800px|500px|Facing the zombie horde.]]''Facing the zombie horde.'' | ||
|7=[[File:Burnt_Church.png|center|800px|500px|Um……uh oh…that's gonna be bad karma.]]''Um……uh oh…that's gonna be bad karma.'' | |7=[[File:Burnt_Church.png|center|800px|500px|Um……uh oh…that's gonna be bad karma.]]''Um……uh oh…that's gonna be bad karma.'' | ||
|8=[[File: | |8=[[File:Pz sc1.jpg|center|800px|500px]] | ||
|9=[[File:Pz sc2.jpg|center|800px|500px]] | |||
|10=[[File:Pz sc3.jpg|center|800px|500px]] | |||
|11=[[File:Pz sc4.jpg|center|800px|500px]] | |||
|12=[[File:Pz sc5.jpg|center|800px|500px]] | |||
|13=[[File:Pz sc6.jpg|center|800px|500px]] | |||
|14=[[File:Pz sc7.jpg|center|800px|500px]] | |||
|15=[[File:Pz sc8.jpg|center|800px|500px]] | |||
|16=[[File:Pz sc9.jpg|center|800px|500px]] | |||
|17=[[File:Pz sc10.jpg|center|800px|500px]] | |||
}}</includeonly> | }}</includeonly> |
Revision as of 11:50, 16 May 2017
This template is transcluded onto the main page to display a random image from a list.
Usage
To add a screenshot/caption:
Please note that if you do not have the appropriate user rights, you will not be able to add a screenshot. If you'd like a screenshot to be featured on the main page, please upload the file and post a link to it on an administrator's talk page.
- 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 replacing#
with the screenshots ID number. Preview changes, then you should see your screenshot/caption.
Documentation transcluded from Template:Main Page Screenshot/doc.
Editors can experiment in this template's sandbox (create)
Editors can experiment in this template's sandbox (create)