Difference between revisions of "Template:Ego table"

From Tales of Maj'Eyal
Jump to: navigation, search
m
(explains how to use 'span' tag to prevent wiki produce unwanted line)
 
(2 intermediate revisions by the same user 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%"
 
! width=100ch | Name
 
! width=100ch | Name
! width=50ch | Power Source
+
! width=100ch | Power Source
 
! width=50ch | Min. Level
 
! width=50ch | Min. Level
 
! width=50ch | Greater
 
! width=50ch | Greater
Line 14: Line 14:
 
{{ego table}}
 
{{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 to separate those.
+
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:
 
Usage:
<pre><nowiki>
+
<pre>
 
{{ego table|ego_rows=
 
{{ego table|ego_rows=
 
{{ego row
 
{{ego row
Line 26: Line 26:
 
|rarity=
 
|rarity=
 
|cost=
 
|cost=
|effects=
+
|effects=<span>
 +
* 1st effect
 +
* 2nd effect
 +
</span>
 
}}
 
}}
 
{{ego row
 
{{ego row
Line 39: Line 42:
 
...
 
...
 
}}
 
}}
</nowiki></pre>
+
</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=
}}
...
}}