Skin
Game Sections
- Unreal
- Unreal: RTNP
- Unreal II
- Unreal Tournament
- UT2003
- UT2004
- Unreal Tournament 3
- Unreal Championship
- Unreal Championship 2
Personal tools
Difference between revisions of "Template:Weapons"
From Liandri Archives
Neon Knight (talk | contribs) m |
Neon Knight (talk | contribs) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<includeonly> | <includeonly> | ||
{|style="border:2px outset grey;background-color:#404040;color:#ffffff;border-collapse:separate;" | {|style="border:2px outset grey;background-color:#404040;color:#ffffff;border-collapse:separate;" | ||
Line 175: | Line 78: | ||
{{#ifeq: {{{weap0}}} | 1 | !style="text-align:left;background-color:#200020;font-weight:bold;width:50;"{{!}}[[{{#switch: {{{game}}} | Unreal = Minigun | UT = Sniper Rifle | UT200X = Ion Painter | UT3 = Longbow AVRiL | Weapon }}]]}} | {{#ifeq: {{{weap0}}} | 1 | !style="text-align:left;background-color:#200020;font-weight:bold;width:50;"{{!}}[[{{#switch: {{{game}}} | Unreal = Minigun | UT = Sniper Rifle | UT200X = Ion Painter | UT3 = Longbow AVRiL | Weapon }}]]}} | ||
{{#ifeq: {{{weap0}}} | 1 | !style="text-align:center;background-color:#000000;font-weight:normal;"{{!}}{{{weap0c}}}}} | {{#ifeq: {{{weap0}}} | 1 | !style="text-align:center;background-color:#000000;font-weight:normal;"{{!}}{{{weap0c}}}}} | ||
− | {{#ifeq: {{{weap0}}} | 1 | !style="text-align:center;background-color:#000000;font-weight:normal;"{{!}}{{{weap0a}}}}} | + | {{#ifeq: {{{weap0}}} | 1 | !style="text-align:center;background-color:#000000;font-weight:normal;"{{!}}{{#if: {{{game}}} | UT200X | - | {{{weap0a}}}}}}} |
{{#ifeq: {{{weap0}}} | 1 | !style="text-align:left;background-color:#000000;font-weight:normal;"{{!}}{{#if: {{{weap0w|}}} | {{{weap0w}}} | }} }} | {{#ifeq: {{{weap0}}} | 1 | !style="text-align:left;background-color:#000000;font-weight:normal;"{{!}}{{#if: {{{weap0w|}}} | {{{weap0w}}} | }} }} | ||
{{#ifeq: {{{weap0}}} | 1 | {{!}}-}} | {{#ifeq: {{{weap0}}} | 1 | {{!}}-}} | ||
{{#ifeq: {{{weap0b}}} | 1 | !style="text-align:left;background-color:#200020;font-weight:bold;width:50;"{{!}}[[{{#switch: {{{game}}} | UT = Redeemer | UT200X = Redeemer | UT3 = Redeemer | Weapon }}]]}} | {{#ifeq: {{{weap0b}}} | 1 | !style="text-align:left;background-color:#200020;font-weight:bold;width:50;"{{!}}[[{{#switch: {{{game}}} | UT = Redeemer | UT200X = Redeemer | UT3 = Redeemer | Weapon }}]]}} | ||
− | {{#ifeq: {{{weap0b}}} | 1 | !style="text-align:center;background-color:#000000;font-weight:normal; | + | {{#ifeq: {{{weap0b}}} | 1 | !style="text-align:center;background-color:#000000;font-weight:normal;"{{!}}{{{weap0bc}}}}} |
+ | {{#ifeq: {{{weap0b}}} | 1 | !style="text-align:center;background-color:#000000;font-weight:normal;"{{!}} - }} | ||
{{#ifeq: {{{weap0b}}} | 1 | !style="text-align:left;background-color:#000000;font-weight:normal;"{{!}}{{#if: {{{weap0bw|}}} | {{{weap0bw}}} | }} }} | {{#ifeq: {{{weap0b}}} | 1 | !style="text-align:left;background-color:#000000;font-weight:normal;"{{!}}{{#if: {{{weap0bw|}}} | {{{weap0bw}}} | }} }} | ||
{{#ifeq: {{{weap0b}}} | 1 | {{!}}-}} | {{#ifeq: {{{weap0b}}} | 1 | {{!}}-}} | ||
{{#ifeq: {{{weap0c}}} | 1 | !style="text-align:left;background-color:#200020;font-weight:bold;width:50;"{{!}}[[{{#switch: {{{game}}} | UT200X = Target Painter | Weapon }}]]}} | {{#ifeq: {{{weap0c}}} | 1 | !style="text-align:left;background-color:#200020;font-weight:bold;width:50;"{{!}}[[{{#switch: {{{game}}} | UT200X = Target Painter | Weapon }}]]}} | ||
− | {{#ifeq: {{{weap0c}}} | 1 | !style="text-align:center;background-color:#000000;font-weight:normal; | + | {{#ifeq: {{{weap0c}}} | 1 | !style="text-align:center;background-color:#000000;font-weight:normal;"{{!}}{{{weap0cc}}}}} |
+ | {{#ifeq: {{{weap0b}}} | 1 | !style="text-align:center;background-color:#000000;font-weight:normal;"{{!}} - }} | ||
{{#ifeq: {{{weap0c}}} | 1 | !style="text-align:left;background-color:#000000;font-weight:normal;"{{!}}{{#if: {{{weap0cw|}}} | {{{weap0cw}}} | }} }} | {{#ifeq: {{{weap0c}}} | 1 | !style="text-align:left;background-color:#000000;font-weight:normal;"{{!}}{{#if: {{{weap0cw|}}} | {{{weap0cw}}} | }} }} | ||
{{#ifeq: {{{weap0c}}} | 1 | {{!}}-}} | {{#ifeq: {{{weap0c}}} | 1 | {{!}}-}} | ||
|} | |} | ||
</includeonly> | </includeonly> | ||
+ | <noinclude>{{documentation}}</noinclude> |
Latest revision as of 18:18, 2 November 2014
Documentation
Usage:
{{Weapons|game=<Unreal/UT/UT200X/UT3(*)>| weap2=<1 if Enforcer/Automag/200X Assault Rifle is present in the map>| weap2c=<Amount of Enforcers/Automags/200X Assault Rifles>| weap2a=<Amount of Enforcer/Automag/200X Assault Rifle ammo boxes>| weap2w=<Where weapon/ammo is located>| weap3=<1 if Unreal Stinger/Bio Rifle is present in the map>| weap3c=<Amount of Unreal Stingers/Bio Rifles>| weap3a=<Amount of Unreal Stinger/Bio Rifle ammo boxes>| weap3w=<Where weapon/ammo is located>| weap3b=<1 if RTNP Combat Asault Rifle/UT200X Mine Layer is present in the map>| weap3bc=<Amount of RTNP Combat Asault Rifles/UT2004 Mine Layers>| weap3ba=<Amount of RTNP Combat Asault Rifle/UT2004 Mine Layer ammo boxes>| weap3bw=<Where weapon/ammo is located>| weap4=<1 if Shock Rifle is present in the map>| weap4c=<Amount of Shock Rifles>| weap4a=<Amount of Shock Rifle ammo boxes>| weap4w=<Where weapon/ammo is located>| weap4b=<1 if RTNP Grenade Launcher is present in the map>| weap4bc=<Amount of RTNP Grenade Launchers>| weap4ba=<Amount of RTNP Grenade Launcher ammo boxes>| weap4bw=<Where weapon/ammo is located>| weap5=<1 if Unreal Eightball/Pulse Gun/Link Gun is present in the map>| weap5c=<Amount of Unreal Eightballs/Pulse Guns/Link Guns>| weap5a=<Amount of Unreal Eightball/Pulse Gun/Link Gun ammo boxes>| weap5w=<Where weapon/ammo is located>| weap5b=<1 if RTNP Rocket Launcher is present in the map>| weap5bc=<Amount of RTNP Rocket Launchers>| weap5ba=<Amount of RTNP Rocket Launcher ammo boxes>| weap5bw=<Where weapon/ammo is located>| weap6=<1 if Unreal Flak Cannon/UT Ripper/UT200X Minigun/UT3 Stinger Minigun is present in the map>| weap6c=<Amount of Unreal Flak Cannons/UT Rippers/UT200X Miniguns/UT3 Stinger Miniguns>| weap6a=<Amount of Unreal Flak Cannon/UT Ripper/UT200X Minigun/UT3 Stinger Minigun ammo boxes>| weap6w=<Where weapon/ammo is located>| weap7=<1 if Unreal Razorjack/UT Minigun/UT200X Flak Cannon/UT3 Flak Cannon is present in the map>| weap7c=<Amount of Unreal Razorjacks/UT Miniguns/UT200X Flak Cannons/UT3 Flak Cannons>| weap7a=<Amount of Unreal Razorjack/UT Minigun/UT200X Flak Cannon/UT3 Flak Cannon ammo boxes>| weap7w=<Where weapon/ammo is located>| weap7b=<1 if UT2004 Grenade Launcher is present in the map>| weap7bc=<Amount of UT2004 Grenade Launchers>| weap7ba=<Amount of UT2004 Grenade Launcher ammo boxes>| weap7bw=<Where weapon/ammo is located>| weap8=<1 if Unreal GES BioRifle/UT Flak Cannon/UT200X Rocket Launcher/UT3 Rocket Launcher is present in the map>| weap8c=<Amount of Unreal GES BioRifles/UT Flak Cannons/UT200X Rocket Launchers/UT3 Rocket Launchers>| weap8a=<Amount of Unreal GES BioRifle/UT Flak Cannon/UT200X Rocket Launcher/UT3 Rocket Launcher ammo boxes>| weap8w=<Where weapon/ammo is located>| weap8b=<1 if UT2004 AVRiL is present in the map>| weap8bc=<Amount of UT2004 AVRiL>| weap8ba=<Amount of UT2004 AVRiL ammo boxes>| weap8bw=<Where weapon/ammo is located>| weap9=<1 if Unreal Rifle/UT Rocket Launcher/UT200X Lightning Gun/UT3 Sniper Rifle is present in the map>| weap9c=<Amount of Unreal Rifles/UT Rocket Launchers/UT200X Lightning Guns/UT3 Sniper Rifles>| weap9a=<Amount of Unreal Rifle/UT Rocket Launcher/UT200X Lightning Gun/UT3 Sniper Rifle ammo boxes>| weap9w=<Where weapon/ammo is located>| weap9b=<1 if UT2004 Sniper Rifle is present in the map>| weap9bc=<Amount of UT2004 Sniper Rifles>| weap9ba=<Amount of UT2004 Sniper Rifle ammo boxes>| weap9bw=<Where weapon/ammo is located>| weap0=<1 if Unreal Minigun/UT Sniper Rifle/UT200X Ion Painter/UT3 Longbow AVRiL is present in the map>| weap0c=<Amount of Unreal Miniguns/UT Sniper Rifles/UT200X Ion Painters(**)/UT3 Longbow AVRiLs>| weap0a=<Amount of Unreal Minigun/UT Sniper Rifle/UT3 Longbow AVRiL ammo boxes>| weap0w=<Where weapon/ammo is located>| weap0b=<1 if Redeemer is present in the map>| weap0bc=<Amount of Redeemers>| weap0bw=<Where weapon is located>| weap0c=<1 if UT2004 Target Painter is present in the map>| weap0cc=<Amount of UT2004 Target Painters>| weap0cw=<Where weapon is located>| }}
(*) Unreal and RTNP are counted as the same game because RTNP doesn't replace anything; also Unreal II weapons are excluded. (**) In this case, the ammo box isn't counted.
Code to copy:
{{Weapons|game=| weap2=|weap2c=|weap2a=|weap2w=| weap3=|weap3c=|weap3a=|weap3w=| weap3b=|weap3bc=|weap3ba=|weap3bw=| weap4=|weap4c=|weap4a=|weap4w=| weap4b=|weap4bc=|weap4ba=|weap4bw=| weap5=|weap5c=|weap5a=|weap5w=| weap5b=|weap5bc=|weap5ba=|weap5bw=| weap6=|weap6c=|weap6a=|weap6w=| weap7=|weap7c=|weap7a=|weap7w=| weap7b=|weap7bc=|weap7ba=|weap7bw=| weap8=|weap8c=|weap8a=|weap8w=| weap8b=|weap8bc=|weap8ba=|weap8bw=| weap9=|weap9c=|weap9a=|weap9w=| weap9b=|weap9bc=|weap9ba=|weap9bw=| weap0=|weap0c=|weap0a=|weap0w=| weap0b=|weap0bc=|weap0bw=| weap0c=|weap0cc=|weap0cw=| }}