Template:FlagMoved: Difference between revisions
Created |
Oops, categ edit |
||
Line 1: | Line 1: | ||
<includeonly>[[:Category:{{{2|AudioVisual}}} Flags|{{{2|AudioVisual}}}]] ({{{1|RA2}}}) , [[:Category:{{{4|General}}} Flags|{{{4|General}}}]] ({{{3|YR}}}) [[Category:{{{2|AudioVisual}}} Flags]] [[Category:{{{4|General}}} Flags]]</includeonly><noinclude>''Very specialised template!'' This template can be used to note that a certain flag was moved from one file section to another. It adds the page to both categories of flags as well, and should be used inside Template:Flag , when describing which section this flag applies to.<br /><br />'''Parameters'''<br /><br />#1 - old game name (RA2 if omitted)<br />#2 - old category (AudioVisual if omitted)<br />#3 - new game name (YR if omitted)<br />#4 - new category (General if omitted)<br /><br />'''Default parameters'''<br /><br />Since the only known example of such activity is the mass-movement of flags from AudioVisual to General that occured in YR, this template can automatically add the section names (AudioVisual and General) and game names (RA2 and YR), if called with no parameters.<br /><br />'''Usage'''<br /><br /><pre>{{FlagMoved}}</pre> yields | <includeonly>[[:Category:{{{2|AudioVisual}}} Flags|{{{2|AudioVisual}}}]] ({{{1|RA2}}}) , [[:Category:{{{4|General}}} Flags|{{{4|General}}}]] ({{{3|YR}}}) [[Category:{{{2|AudioVisual}}} Flags]] [[Category:{{{4|General}}} Flags]]</includeonly><noinclude>''Very specialised template!'' This template can be used to note that a certain flag was moved from one file section to another. It adds the page to both categories of flags as well, and should be used inside Template:Flag , when describing which section this flag applies to.<br /><br />'''Parameters'''<br /><br />#1 - old game name (RA2 if omitted)<br />#2 - old category (AudioVisual if omitted)<br />#3 - new game name (YR if omitted)<br />#4 - new category (General if omitted)<br /><br />'''Default parameters'''<br /><br />Since the only known example of such activity is the mass-movement of flags from AudioVisual to General that occured in YR, this template can automatically add the section names (AudioVisual and General) and game names (RA2 and YR), if called with no parameters.<br /><br />'''Usage'''<br /><br /><pre>{{FlagMoved}}</pre> yields <tt>AudioVisual(RA2), General (YR)</tt>.<pre>{{FlagMoved|oldgame|oldhome|newgame|newhome}}</pre> yields <tt>oldhome(oldgame), newhome (newgame)</tt>.</noinclude> |
Latest revision as of 09:34, 8 May 2006
Very specialised template! This template can be used to note that a certain flag was moved from one file section to another. It adds the page to both categories of flags as well, and should be used inside Template:Flag , when describing which section this flag applies to.
Parameters
#1 - old game name (RA2 if omitted)
#2 - old category (AudioVisual if omitted)
#3 - new game name (YR if omitted)
#4 - new category (General if omitted)
Default parameters
Since the only known example of such activity is the mass-movement of flags from AudioVisual to General that occured in YR, this template can automatically add the section names (AudioVisual and General) and game names (RA2 and YR), if called with no parameters.
Usage
{{FlagMoved}}
yields AudioVisual(RA2), General (YR).
{{FlagMoved|oldgame|oldhome|newgame|newhome}}
yields oldhome(oldgame), newhome (newgame).