Template:Main Page Screenshot: Difference between revisions
No edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
* Upload the file if it isn't on the wiki already. | * Upload the file if it isn't on the wiki already. | ||
* Edit this page. | * Edit this page. | ||
* Change <nowiki>{{rand| | * Change the following.. | ||
<nowiki></noinclude><includeonly>{{#switch:{{#ifexpr:{{{test|0}}}=1|{{{1}}}|</nowiki>'''<nowiki>{{rand|#}}</nowiki>'''<nowiki>}}</nowiki> | |||
* ..to be this: | |||
<nowiki></noinclude><includeonly>{{#switch:{{#ifexpr:{{{test|0}}}=1|{{{1}}}|</nowiki>'''<nowiki>{{rand|#+1}}</nowiki>'''<nowiki>}}</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>|#=[[File:FILENAME.xyz|center|800px|500px|CAPTION]]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 | * Test your changes by inserting <nowiki>{{Main Page Screenshot|#|test=1}}</nowiki> onto a page and previewing, you should see your screenshot/caption. | ||
----- | |||
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=[[File:PzPic4.png|center|800px|500px|Caption1.]]Caption1. | |1=[[File:PzPic4.png|center|800px|500px|Caption1.]]Caption1. |
Revision as of 06:29, 7 October 2011
To add a screenshot/caption:
- Upload the file if it isn't on the wiki already.
- Edit this page.
- Change the following..
</noinclude><includeonly>{{#switch:{{#ifexpr:{{{test|0}}}=1|{{{1}}}|{{rand|#}}}}
- ..to be this:
</noinclude><includeonly>{{#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.