Editing Template:Weapon
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
<infobox> |
<infobox> |
||
<title source=" |
<title source="title1"> |
||
<default>{{PAGENAME}}</default> |
<default>{{PAGENAME}}</default> |
||
</title> |
</title> |
||
<image source=" |
<image source="image1"> |
||
<caption source=" |
<caption source="caption1"/> |
||
</image> |
</image> |
||
<data source=" |
<data source="ammunition"> |
||
<label>Ammunition</label> |
<label>Ammunition</label> |
||
</data> |
</data> |
||
Line 18: | Line 18: | ||
<label>Damage</label> |
<label>Damage</label> |
||
</data> |
</data> |
||
<data source="game"> |
<data source="game(s)"> |
||
<label>Game(s)</label> |
<label>Game(s)</label> |
||
</data> |
</data> |
||
</infobox> |
</infobox> |
||
<noinclude> |
<noinclude> |
||
Example usage:<pre> |
|||
{{Weapon |
|||
|title1=Example |
|||
|image1=Example |
|||
|caption1=Example |
|||
|ammunition=Example |
|||
|ability=Example |
|||
|action=Example |
|||
|damage=Example |
|||
|game(s)=Example |
|||
}} |
|||
</pre> |
|||
</noinclude> |
|||
{| class="wikitable" style="font-size: 97%; width:240px; border: 1px #CCD; -moz-border-radius: 6px; float:right;" |
|||
|- |
|||
! colspan="2" style=" height: 31px; font-size:125%;text-align:center; background:#CCD; -moz-border-radius: 6px;"| {{{name}}} |
|||
|- |
|||
{{#if:{{{image<includeonly>|</includeonly>}}} | |
|||
{{!}} colspan="2" style="text-align:center;padding-bottom:.5em;background:#ececf2;" {{!}}{{{image}}} |
|||
{{!}}- |
|||
}} |
|||
{{#if:{{{ammo<includeonly>|</includeonly>}}} | |
|||
{{!}} style="width: 35%;background:#CCD;-moz-border-radius: 4px;" {{!}}'''Ammunition''' |
|||
{{!}}{{{ammo}}} |
|||
{{!}}- |
|||
}} |
|||
{{#if:{{{ability<includeonly>|</includeonly>}}} | |
|||
{{!}} style="width: 35%;background:#CCD;-moz-border-radius: 4px;" {{!}}'''Ability''' |
|||
{{!}}{{{ability}}} |
|||
{{!}}- |
|||
}} |
|||
{{#if:{{{action<includeonly>|</includeonly>}}} | |
|||
{{!}} style="width: 35%;background:#CCD;-moz-border-radius: 4px;" {{!}}'''Action''' |
|||
{{!}}{{{action}}} |
|||
{{!}}- |
|||
}} |
|||
{{#if:{{{damage<includeonly>|</includeonly>}}} | |
|||
{{!}} style="width: 35%;background:#CCD;-moz-border-radius: 4px;" {{!}}'''Damage''' |
|||
{{!}}{{{damage}}} |
|||
{{!}}- |
|||
}} |
|||
{{#if:{{{game<includeonly>|</includeonly>}}} | |
|||
{{!}} style="width: 35%;background:#CCD;-moz-border-radius: 4px;" {{!}}'''Game(s)''' |
|||
{{!}}{{{game}}} |
|||
{{!}}- |
|||
}} |
|||
|}<noinclude> |
|||
==Usage== |
==Usage== |
||
Use this on pages about Weapons. |
Use this on pages about Weapons. |
||
Line 38: | Line 86: | ||
|name= |
|name= |
||
|image= |
|image= |
||
|caption= |
|||
|ammo= |
|ammo= |
||
|ability= |
|ability= |