Editing Template:Class Weapon Table Row
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
This page is not enabled for semantic in-text annotations due to namespace restrictions. Details about how to enable the namespace can be found on the configuration help page.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | < | + | <noinclude>{{User:Maxim/Template:Class Weapon Table Header}}</noinclude> |
− | + | |- | |
− | + | ! align="center" rowspan="2" | [[Image:{{{imgname}}}|link=http://wiki.teamfortress.com/wiki/{{{wikilink}}}]]<br /><small>'''{{{itemquality}}}'''</small><br />'''[[{{{weaponname}}}]]''' | |
− | ! | + | | align="center" {{#switch: {{{cevo6s}}} |
− | + | | true = bgcolor="indianred" {{!}} <font color="white"> Banned </font> | |
− | ! | + | | false = bgcolor="lightgreen" {{!}} <font color="black"> Allowed </font> |
− | ! | + | | maybe = bgcolor="yellow" {{!}} <font color="black"> Depends</font> {{#tag:ref|{{{cevo6sref}}}|name="cevo6sref"}} |
− | ! | + | }} |
− | | align="center | + | | align="center" {{#switch: {{{esea6s}}} |
− | | true = bgcolor=" | + | | true = bgcolor="indianred" {{!}} <font color="white"> Banned </font> |
− | | false = bgcolor=" | + | | false = bgcolor="lightgreen" {{!}} <font color="black"> Allowed </font> |
− | | maybe = bgcolor=" | + | | maybe = bgcolor="yellow" {{!}} <font color="black"> Depends</font> {{#tag:ref|{{{esea6sref}}}|name="esea6sref"}} |
− | + | }} | |
+ | | align="center" {{#switch: {{{etf2l6s}}} | ||
+ | | true = bgcolor="indianred" {{!}} <font color="white"> Banned </font> | ||
+ | | false = bgcolor="lightgreen" {{!}} <font color="black"> Allowed </font> | ||
+ | | maybe = bgcolor="yellow" {{!}} <font color="black"> Depends</font> {{#tag:ref|{{{etf2l6sref}}}|name="etf2l6sref"}} | ||
}} | }} | ||
− | | align="center | + | | align="center" {{#switch: {{{ozf6s}}} |
− | | true = bgcolor=" | + | | true = bgcolor="indianred" {{!}} <font color="white"> Banned </font> |
− | | false = bgcolor=" | + | | false = bgcolor="lightgreen" {{!}} <font color="black"> Allowed </font> |
− | | maybe = bgcolor=" | + | | maybe = bgcolor="yellow" {{!}} <font color="black"> Depends</font> {{#tag:ref|{{{ozf6sref}}}|name="ozf6sref"}} |
− | |||
}} | }} | ||
− | | align="center | + | | align="center" {{#switch: {{{ugc6s}}} |
− | | true = bgcolor=" | + | | true = bgcolor="indianred" {{!}} <font color="white"> Banned </font> |
− | | false = bgcolor=" | + | | false = bgcolor="lightgreen" {{!}} <font color="black"> Allowed </font> |
− | | maybe = bgcolor=" | + | | maybe = bgcolor="yellow" {{!}} <font color="black"> Depends</font> {{#tag:ref|{{{ugc6sref}}}|name="ugc6sref"}} |
− | |||
}} | }} | ||
− | | align="center | + | | align="center" {{#switch: {{{cevoHL}}} |
− | | true = bgcolor=" | + | | true = bgcolor="indianred" {{!}} <font color="white"> Banned </font> |
− | | false = bgcolor=" | + | | false = bgcolor="lightgreen" {{!}} <font color="black"> Allowed </font> |
− | | maybe = bgcolor=" | + | | maybe = bgcolor="yellow" {{!}} <font color="black"> Depends</font> {{#tag:ref|{{{cevoref}}}|name="cevoref"}} |
− | |||
}} | }} | ||
− | | align="center | + | | align="center" {{#switch: {{{etf2lHL}}} |
− | | true = bgcolor=" | + | | true = bgcolor="indianred" {{!}} <font color="white"> Banned </font> |
− | | false = bgcolor=" | + | | false = bgcolor="lightgreen" {{!}} <font color="black"> Allowed </font> |
− | | maybe = bgcolor=" | + | | maybe = bgcolor="yellow" {{!}} <font color="black"> Depends</font> {{#tag:ref|{{{etf2lHLref}}}|name="etf2lHLref"}} |
− | |||
}} | }} | ||
− | | align="center" | + | | align="center" {{#switch: {{{ozfHL}}} |
− | | true = bgcolor=" | + | | true = bgcolor="indianred" {{!}} <font color="white"> Banned </font> |
− | | false = bgcolor=" | + | | false = bgcolor="lightgreen" {{!}} <font color="black"> Allowed </font> |
− | | maybe = bgcolor=" | + | | maybe = bgcolor="yellow" {{!}} <font color="black"> Depends</font> {{#tag:ref|{{{ozfHLref}}}|name="ozfHLref"}} |
− | | | + | }} |
+ | | align="center" {{#switch: {{{ugcHL}}} | ||
+ | | true = bgcolor="indianred" {{!}} <font color="white"> Banned </font> | ||
+ | | false = bgcolor="lightgreen" {{!}} <font color="black"> Allowed </font> | ||
+ | | maybe = bgcolor="yellow" {{!}} <font color="black"> Depends</font> {{#tag:ref|{{{ugcHLref}}}|name="ugcHLref"}} | ||
+ | }} | ||
+ | | align="center" {{#switch: {{{wireHL}}} | ||
+ | | true = bgcolor="indianred" {{!}} <font color="white"> Banned </font> | ||
+ | | false = bgcolor="lightgreen" {{!}} <font color="black"> Allowed </font> | ||
+ | | maybe = bgcolor="yellow" {{!}} <font color="black"> Depends</font> {{#tag:ref|{{{wireHLref}}}|name="wireHLref"}} | ||
}} | }} | ||
|- | |- | ||
− | | align="center" colspan=" | + | | align="center" colspan="9"| {{{description}}} |
− | {{ | + | <noinclude> |
+ | {{Template:Class Weapon Table End}} | ||
+ | This is a test version of a template for the construction of a row in a Class' weapons table. Right now, I'm trying to find a way to allow states other than Allowed/Banned to come up on the ladder, while still keeping template users away from the code. got to read up on #switch parser functions | ||
+ | <pre> | ||
+ | {{User:Maxim/Template:Class Weapon Table Row | ||
+ | |weaponname = Natascha | ||
+ | |itemquality = Stock | ||
+ | |wikilink = Brass_Beast | ||
+ | |imgname = 128px-Fists.png | ||
+ | |cevo6s = true | ||
+ | |esea6s = true | ||
+ | |etf2l6s = true | ||
+ | |ozf6s = false | ||
+ | |ugc6s = false | ||
+ | |ozfHL = no | ||
+ | |ugcHL = asldkjf | ||
+ | |etf2lHL = | ||
+ | |cevoHL = true | ||
+ | |wireplayHL = | ||
+ | |description = SEY! SEY! | ||
+ | }} | ||
+ | </pre> | ||
+ | === Displays === | ||
+ | {| | ||
+ | {{User:Maxim/Template:Class Weapon Table Row | ||
+ | |weaponname = Natascha | ||
+ | |itemquality = Stock | ||
+ | |wikilink = Brass_Beast | ||
+ | |imgname = 128px-Fists.png | ||
+ | |cevo6s = maybe | ||
+ | |cevo6sref = cevoref | ||
+ | |esea6s = maybe | ||
+ | |esea6sref = esearef | ||
+ | |etf2l6s = maybe | ||
+ | |etf2l6sref = etf2lref | ||
+ | |ozf6s = maybe | ||
+ | |ozf6sref = ozfref | ||
+ | |ugc6s = maybe | ||
+ | |ugc6sref = ugc reason like below | ||
+ | |cevoHL = maybe | ||
+ | |cevoHLref = cevoref | ||
+ | |etf2lHL = maybe | ||
+ | |etf2lHLref = this is a test description of why this item has certain conditions associated with its use in this league. | ||
+ | |ozfHL = maybe | ||
+ | |ozfHLref = ozfref | ||
+ | |ugcHL = maybe | ||
+ | |ugcHLref = ugcref | ||
+ | |wireHL = maybe | ||
+ | |wireHLref = wireref | ||
+ | |description = SEY! SEY! | ||
+ | }} | ||
+ | |} | ||
+ | <references /> | ||
</noinclude> | </noinclude> |