Template:CharacterExpList/doc: Difference between revisions

No edit summary
No edit summary
Line 6: Line 6:
<pre>{{CharacterExpList|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.
*collapsed: An optional parameter specifying whether the table should collapsed by default.  When specified it should be given a dummy value, i.e. collapsed=true.
===Entry===
===Entry===
Each entry call designates a single level.
Each entry call designates a single level.
Line 23: Line 26:
==Example==
==Example==
===Sample===
===Sample===
{{CharacterExpList|header}}
{{CharacterExpList|header|title=Dragon Warrior|subtitle=NES}}
{{CharacterExpList|entry|level=1|exp=223}}
{{CharacterExpList|entry|level=1|exp=223}}
{{CharacterExpList|entry|level=2|exp=800}}
{{CharacterExpList|entry|level=2|exp=800}}
Line 30: Line 33:
===Code===
===Code===
<pre>
<pre>
{{CharacterExpList|header}}
{{CharacterExpList|header|title=Dragon Warrior|subtitle=NES}}
{{CharacterExpList|entry|level=1|exp=223}}
{{CharacterExpList|entry|level=1|exp=223}}
{{CharacterExpList|entry|level=2|exp=800}}
{{CharacterExpList|entry|level=2|exp=800}}