Template:WeapTab:修订间差异
模板页面
更多操作
src->Spotty McBumble Fuck created |
src->Spotty McBumble Fuck 无编辑摘要 |
||
| (未显示同一用户的1个中间版本) | |||
| 第1行: | 第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> | ||
{{#if:{{{3|}}}|<tr><td><hr>{{{ | {{#if:{{{3|}}}|<tr><td><hr>{{{3|}}}</td></tr>}} | ||
</table></includeonly><noinclude> | </table></includeonly><noinclude> | ||
==Documentation== | ==Documentation== | ||
| 第13行: | 第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> | ||
2026年3月14日 (六) 13:51的最新版本
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 |