Template:EnemyList/doc: Difference between revisions

mNo edit summary
mNo edit summary
Line 5: Line 5:
===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>{{EnemyList|header}}</pre>
<pre>{{EnemyList|header|title=[[Dragon Quest II]]|subtitle=NES}}</pre>
*header: A required parameter which marks this as the start of a enemy list table.
*header: A required parameter which marks this as the start of a enemy list table.
*title: Title to be used on the table.  This should be the name of the game if there is more than one enemy list on an article.  Can be an interwiki link when applicable.
*title: Title to be used on the table.  This should be the name of the game if there is more than one enemy list on an article.  Can be an interwiki link when applicable.
Line 11: Line 11:
===Entries===
===Entries===
Each entry in the enemy table is represented by a single template call.
Each entry in the enemy table is represented by a single template call.
<pre>{{Enemy|entry|enemy=[[Slime]]|gold=1|experience=200}}</pre>
<pre>{{Enemy|entry|enemy=[[Slime]]|gold=1|exp=200}}</pre>
*entry: A required parameter which marks this as a single shop table entry.
*entry: A required parameter which marks this as a single shop table entry.
*enemy: An interwiki link to the enemy article.
*enemy: An interwiki link to the enemy article.