Template:Skill List/Documentation: Difference between revisions

no edit summary
No edit summary
No edit summary
 
Line 1: Line 1:
==Purpose==
==Purpose==
Used to create sortable tables for use on Skill Listing pages, using both a header template and multiple row templates. Headers should be created ''ad hoc'' (and may be created as templates), and the table must be closed by appending <code>|}</code> on the following line.
Used to create sortable tables for use on Skill Listing pages, using both a header template and multiple row templates. [[Template:Skill List/Header]] is placed at the top of the table, and the table must be closed by appending <code>|}</code> on the following line.


==Usage==
==Usage==
Line 14: Line 14:
===Code===
===Code===
<pre>
<pre>
{|class="wikitable"
{{Skill List/Header|1|2}}
!insert header cells here
|-
{{Skill List|1|2}}
{{Skill List|1|2}}
|}
|}
</pre>
</pre>
For the header, the first field is the media abbreviation and the second is the first skill in the table.


===Examples===
===Examples===
<pre>
<pre>
{|class="wikitable"
{{Skill List/Header|SMT3|Agi}}
!Name !! Cost !! {{tt|P. Level|Power Level}} !! Target !! Hits !! {{tt|B. Power|Base power}} !! {{tt|C. Rate|Critical Hit Rate}} !! Rank !! Description !! Effect
|-
{{Skill List|SMT3|Agi}}
{{Skill List|SMT3|Agi}}
{{Skill List|SMT3|Maragi}}
|}
|}
</pre>
</pre>
{|class="wikitable"
{{Skill List/Header|SMT3|Agi}}
!Name !! Cost !! {{tt|P. Level|Power Level}} !! Target !! Hits !! {{tt|B. Power|Base power}} !! {{tt|C. Rate|Critical Hit Rate}} !! Rank !! Description !! Effect
|-
{{Skill List|SMT3|Agi}}
{{Skill List|SMT3|Agi}}
{{Skill List|SMT3|Maragi}}
|}
|}
<noinclude>[[Category:Template Documentation]]</noinclude>
<noinclude>[[Category:Template Documentation]]</noinclude>