Difference between revisions of "Template:Ego table"

From Tales of Maj'Eyal
Jump to: navigation, search
(explains how to use 'span' tag to prevent wiki produce unwanted line)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly><onlyinclude>{|cellpadding="10" class="wikitable" style="color: black;" width="100%"
 
<includeonly><onlyinclude>{|cellpadding="10" class="wikitable" style="color: black;" width="100%"
|style="background: #A4A4A4" colspan="4"|'''''{{{ego_class}}}'''''
+
! width=100ch | Name
|-
+
! width=100ch | Power Source
! Name!! Greater !! Rarity !! Abilities !!
+
! width=50ch | Min. Level
 +
! width=50ch | Greater
 +
! width=50ch | Rarity
 +
! width=50ch | Cost
 +
! | Effects
 
{{{ego_rows}}}
 
{{{ego_rows}}}
 
|}</onlyinclude></includeonly>
 
|}</onlyinclude></includeonly>
  
 
[[Category:Templates]]
 
[[Category:Templates]]
This template is used to produce a table of egos and the abilities associated with the. Use [[Template:Ego row|Ego row]] to add rows.
+
 
 +
{{ego table}}
 +
 
 +
This template is used to produce a table of egos and the abilities associated with the. Use [[Template:Ego row|Ego row]] to add rows. Some egos have effects that works once an item is wielded, and some only work when the item is used as weapon in an attack. In 'effects' column, use bullet lists (<nowiki>*</nowiki>) to separate those, and put a <nowiki><span></nowiki> tag around them to prevent wiki produce unwanted empty line.
 +
 
 +
Usage:
 +
<pre>
 +
{{ego table|ego_rows=
 +
{{ego row
 +
|name=
 +
|source=
 +
|level=
 +
|greater=
 +
|rarity=
 +
|cost=
 +
|effects=<span>
 +
* 1st effect
 +
* 2nd effect
 +
</span>
 +
}}
 +
{{ego row
 +
|name=
 +
|source=
 +
|level=
 +
|greater=
 +
|rarity=
 +
|cost=
 +
|effects=
 +
}}
 +
...
 +
}}
 +
</pre>

Latest revision as of 12:24, 13 November 2016


Name Power Source Min. Level Greater Rarity Cost Effects

{{{ego_rows}}}

This template is used to produce a table of egos and the abilities associated with the. Use Ego row to add rows. Some egos have effects that works once an item is wielded, and some only work when the item is used as weapon in an attack. In 'effects' column, use bullet lists (*) to separate those, and put a <span> tag around them to prevent wiki produce unwanted empty line.

Usage:

{{ego table|ego_rows=
{{ego row
|name=
|source=
|level=
|greater=
|rarity=
|cost=
|effects=<span>
* 1st effect
* 2nd effect
</span>
}}
{{ego row
|name=
|source=
|level=
|greater=
|rarity=
|cost=
|effects=
}}
...
}}