Template:SL Rank/Documentation: Difference between revisions

Jump to navigation Jump to search
(Created page with "==Purpose== Template used to create tables for listing Social Link Ranks, using both a header template and multiple row templates. Template:SL Rank/Header is placed at the top of the table, and the table must be closed by appending <code>|}</code> on the following line. This table will display the Rank's number, its accompanying description, and the number of Social Link points required to reach that Rank. For ''Persona 5'' Confidants and their Rank abilities, use [...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
==Purpose==
==Purpose==
Template used to create tables for listing [[Social Link]] Ranks, using both a header template and multiple row templates. Template:SL Rank/Header is placed at the top of the table, and the table must be closed by appending <code>|}</code> on the following line. This table will display the Rank's number, its accompanying description, and the number of Social Link points required to reach that Rank.
Template used to create tables for listing [[Social Link]] Ranks, using both a header template and multiple row templates. Template:SL Rank/Header is placed at the top of the table, and the table must be closed by appending <code>|}</code> on the following line. This table will display the Rank's number/title and the requirements needed to reach that Rank. It can also display the Rank's description if enabled.


For ''Persona 5'' Confidants and their Rank abilities, use [[Template:Confidant Rank]] instead.
For ''Persona 5'' Confidants and their Rank abilities, use [[Template:Confidant Rank]] instead.
Line 11: Line 11:
|-
|-
| arcana || The name of the Arcana that the Rank list pertains to.
| arcana || The name of the Arcana that the Rank list pertains to.
|-
| desc || Must be given a value (such as "1" or "y") to display. Enables a description column.
|}
|}


Line 20: Line 22:
| rank || The number or title of the Rank.
| rank || The number or title of the Rank.
|-
|-
| desc || The Rank's description.
| req || The required criteria in order to reach the Rank. If base Rank, omit this parameter to automatically add an em dash.
|-
|-
| points || The number of points required to reach that Rank, or otherwise the criteria to reach it. If base Rank, omit this parameter to add an em dash.
| desc || The Rank's description, if any. Descriptions require that the column be enabled in SL/Rank Header.  
|}
|}


===Code===
===Code===
;Minimum code
<pre>
<pre>
{{SL Rank/Header|arcana=}}
{{SL Rank/Header|arcana=}}
{{SL Rank|rank=|desc=|points=}}
{{SL Rank|rank=|req=}}
|}
</pre>
;With description
<pre>
{{SL Rank/Header|arcana=|desc=y}}
{{SL Rank|rank=|req=|desc=}}
|}
|}
</pre>
</pre>
<noinclude>[[Category:Template Documentation]]</noinclude>
<noinclude>[[Category:Template Documentation]]</noinclude>

Latest revision as of 03:29, 9 June 2024

Purpose

Template used to create tables for listing Social Link Ranks, using both a header template and multiple row templates. Template:SL Rank/Header is placed at the top of the table, and the table must be closed by appending |} on the following line. This table will display the Rank's number/title and the requirements needed to reach that Rank. It can also display the Rank's description if enabled.

For Persona 5 Confidants and their Rank abilities, use Template:Confidant Rank instead.

Usage

SL Rank/Header
Parameter Description
arcana The name of the Arcana that the Rank list pertains to.
desc Must be given a value (such as "1" or "y") to display. Enables a description column.
SL Rank
Parameter Description
rank The number or title of the Rank.
req The required criteria in order to reach the Rank. If base Rank, omit this parameter to automatically add an em dash.
desc The Rank's description, if any. Descriptions require that the column be enabled in SL/Rank Header.

Code

Minimum code
{{SL Rank/Header|arcana=}}
{{SL Rank|rank=|req=}}
|}
With description
{{SL Rank/Header|arcana=|desc=y}}
{{SL Rank|rank=|req=|desc=}}
|}