Template:Main Page Screenshot: Difference between revisions
m (Created page with "<noinclude> '''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 # ...") |
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 {{rand|last #}} below to be {{rand|current # (last # + 1)}}. | * 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>|# = {{#if: {{{1}}} | FILE (include .format) | CAPTION }}</pre> | <pre>|# = {{#if: {{{1}}} | FILE (include .format) | CAPTION }}</pre> | ||
Line 9: | Line 9: | ||
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>{{#switch:{{#ifexpr: {{{test|0}}}=1 | {{{1}}} | {{rand|3}} }}| | </noinclude><includeonly> | ||
{{#switch:{{#ifexpr: {{{test|0}}}=1 | {{{1}}} | {{rand|3}} }}| | |||
|1={{#if: {{{1}}} | PzPic4.png | Caption1.}} | |1={{#if: {{{1}}} | PzPic4.png | Caption1.}} | ||
|2={{#if: {{{1}}} | PzPic3.png | Caption2.}} | |2={{#if: {{{1}}} | PzPic3.png | Caption2.}} | ||
|3={{#if: {{{1}}} | PzPic1.png | Caption3.}} | |3={{#if: {{{1}}} | PzPic1.png | Caption3.}} | ||
}} | |||
}}</includeonly> |
Revision as of 06:00, 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:
|# = {{#if: {{{1}}} | FILE (include .format) | CAPTION }}
- Test your changes by inserting {
onto a page and previewing, you should see your file name.
Please do not use equals signs or vertical bars in your captions.