Difference between revisions of "Template:PSG"
From #openttdcoop wiki
Line 1: | Line 1: | ||
− | [[PublicServer:Archive_-_Games_{{padleft:{{#expr:10*ceil( {{{1}}} /10)-9}}|2}}_-_{{#expr:10*ceil( {{{1}}} /10)}}#gameid_{{padleft:{{{1}}}|2}}|{{{2|Archive entry for PSG{{{1}}}}}}]] | + | <onlyinclude><includeonly>[[PublicServer:Archive_-_Games_{{padleft:{{#expr:10*ceil( {{{1}}} /10)-9}}|2}}_-_{{#expr:10*ceil( {{{1}}} /10)}}#gameid_{{padleft:{{{1}}}|2}}|{{{2|Archive entry for PSG{{{1}}}}}}]]</includeonly></onlyinclude> |
+ | This template creates a link to the archive entry of a Public Server Game. The first parameter is the number of the game. The optional second parameter is the text of the link. The games with unusual numbering such as [[PublicServer:Archive_-_Games_01_-_10#gameid_062|PSG06.2]] do not work. | ||
+ | |||
+ | Examples: | ||
+ | *<tt><nowiki>{{PSG|2}}</nowiki></tt> generates {{PSG|2}} | ||
+ | *<tt><nowiki>{{PSG|10}}</nowiki></tt> generates {{PSG|10}} | ||
+ | *<tt><nowiki>{{PSG|11}}</nowiki></tt> generates {{PSG|11}} | ||
+ | *<tt><nowiki>{{PSG|22|Text}}</nowiki></tt> generates {{PSG|22|Text}} |
Revision as of 15:24, 16 November 2012
This template creates a link to the archive entry of a Public Server Game. The first parameter is the number of the game. The optional second parameter is the text of the link. The games with unusual numbering such as PSG06.2 do not work.
Examples: