Template:CharacterExpList/doc: Difference between revisions

Created doc page
 
m 5 revisions: Import of Template namespace from Wikia
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
The ExpList template is used to display a list of experience values to achieve specific levels for a single character. Note that a separate ExpList set should be used for each game in which a character has different level/experience values.
The CharacterExpList template is used to display a list of experience values to achieve specific levels for a single character. Note that a separate CharacterExpList set should be used for each game in which a character has different level/experience values.


==Usage==
==Usage==
===Header===
===Header===
A header call to this template should be the first usage of this template on any page.
A header call to this template should be the first usage of this template on any page.
<pre>{{ExpList|header}}</pre>
<pre>{{CharacterExpList|header}}</pre>
*header: A required parameter which marks this as the start of a experience list table.
*header: A required parameter which marks this as the start of a experience list table.
*title: A required paramter specifying the title.  Typically this is the name of the game.
*subtitle: An optional parameter specifying the subtitle.  Typically this is the name of the console/version of the game. This parameter should be specified where there is more than one game.
===Entry===
===Entry===
Each entry call designates a single level.
Each entry call designates a single level.
<pre>{{ExpList|entry|level=10|exp=10023}}</pre>
<pre>{{CharacterExpList|entry|level=10|exp=10023}}</pre>
*entry: A required parameter marking an entry.
*entry: A required parameter marking an entry.
*level: The level number
*level: The level number
*exp: The experience value
*exp: The experience value
===Note===
A note can be added for additional details.
<pre>{{CharacterExpList|note|text=This is my note.}}</pre>
*note: A required parameter marking a note.
*text: The text content of the note.
===Footer===
===Footer===
The footer call marks the end of the experience table.
The footer call marks the end of the experience table.
<pre>{{ExpList|footer}}</pre>
<pre>{{CharacterExpList|footer}}</pre>
*footer: A required parameter marking the template as the footer.
*footer: A required parameter marking the template as the footer.
==Example==
==Example==
===Sample===
===Sample===
{{ExpList|header}}
{{CharacterExpList|header|title=Dragon Warrior|subtitle=NES}}
{{ExpList|entry|level=1|exp=223}}
{{CharacterExpList|entry|level=1|exp=223}}
{{ExpList|entry|level=2|exp=800}}
{{CharacterExpList|entry|level=2|exp=800}}
{{ExpList|entry|level=3|exp=1324}}
{{CharacterExpList|entry|level=3|exp=1324}}
{{ExpList|footer}}
{{CharacterExpList|footer}}
===Code===
===Code===
<pre>
<pre>
{{ExpList|header}}
{{CharacterExpList|header|title=Dragon Warrior|subtitle=NES}}
{{ExpList|entry|level=1|exp=223}}
{{CharacterExpList|entry|level=1|exp=223}}
{{ExpList|entry|level=2|exp=800}}
{{CharacterExpList|entry|level=2|exp=800}}
{{ExpList|entry|level=3|exp=1324}}
{{CharacterExpList|entry|level=3|exp=1324}}
{{ExpList|footer}}
{{CharacterExpList|footer}}
</pre>
</pre>