Difference between revisions of "Template:WeapTab"
Jump to navigation
Jump to search
m |
|||
| Line 1: | Line 1: | ||
| − | <includeonly><table> | + | <includeonly><table style="width:100%; text-align:center;"> |
<tr><td>{{{1|}}}</td></tr> | <tr><td>{{{1|}}}</td></tr> | ||
<tr><td><hr>{{{2|}}}</td></tr> | <tr><td><hr>{{{2|}}}</td></tr> | ||
| Line 13: | Line 13: | ||
*If statement to display a 3rd parameter if needed. | *If statement to display a 3rd parameter if needed. | ||
*Easily expandible if more are required | *Easily expandible if more are required | ||
| + | *Use only in table | ||
| + | {|{{TabSet|Standard}} | ||
| + | |- | ||
| + | |width="50px"|{{WeapTab|BLIT|STRM}} | ||
| + | |[<code><nowiki>{{WeapTab|BLIT|STRM}}</nowiki></code>] | ||
| + | |} | ||
| − | + | If used outside a table without set width: | |
| − | |||
| − | |||
[<code><nowiki>{{WeapTab|15|30|50}}</nowiki></code>] | [<code><nowiki>{{WeapTab|15|30|50}}</nowiki></code>] | ||
{{WeapTab|15|30|50}} | {{WeapTab|15|30|50}} | ||
[[Category:Useable templates]] | [[Category:Useable templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 05:51, 14 March 2026
Documentation
- Created by Spotty McBumble Fuck (talk) 15:39, 28 February 2026 (UTC)
The template Weapon Table is a class="table" in html primarily meant to be used inside the Damage tab of the Weapons table.
Parameters & Usage
- Default 2 Parameters; any input
- If statement to display a 3rd parameter if needed.
- Easily expandible if more are required
- Use only in table
|
[{{WeapTab|BLIT|STRM}}]
|
If used outside a table without set width:
[{{WeapTab|15|30|50}}]
| 15 |
30 |
50 |