Шаблон:MobTable
Версия от 10:14, 17 ноября 2022; imported>Admin (Новая страница: «<includeonly>{| class="mw-collapsible wikitable" style="text-align: center; margin:auto; width: 90%" ! style="background-color:#B6D4D9; width: 15%" | Монстр…»)
MobTable creates a predefined table to accommodate monster data.
Syntax
{{MobTable|data=}}
- Parameter
- data
- The monster data that the table will have. It needs to come formatted as MediaWiki table cell syntax.
To make your life easier it's recommended to use it with Template:Enemies being passed to the data parameter.
Example
Using
{{MobTable|data= {{Enemies|id=2545|name=Guard Dog|hp=20,099|level=101|size=Medium|race=Beast|element=Earth 1}} {{Enemies|id=2543|name=Payon Soldier|hp=20,099|level=101|size=Medium|race=Demi-Human|element=Neutral 1}} {{Enemies|id=2546|name=Guard Dog|hp=21,099|level=101|size=Medium|race=Beast|element=Fire 1}} {{Enemies|id=2544|name=Payon Soldier|hp=21,099|level=101|size=Medium|race=Demi-Human|element=Neutral 1}} {{Enemies|id=2542|name=Irene Elder|hp=433,110|level=101|size=Medium|race=Demi-Human|element=Neutral 1}} }}
will result into:
Монстр | Имя | Уровень | ХП | Размер / Раса / Элемент |
---|---|---|---|---|
Guard Dog | 101 | 20,099 | Medium / Beast / Earth 1 | |
Payon Soldier | 101 | 20,099 | Medium / Demi-Human / Neutral 1 | |
Guard Dog | 101 | 21,099 | Medium / Beast / Fire 1 | |
Payon Soldier | 101 | 21,099 | Medium / Demi-Human / Neutral 1 | |
Irene Elder | 101 | 433,110 | Medium / Demi-Human / Neutral 1 |