Template:EnemyList/doc: Difference between revisions
→Entries: added drop2 and rate2 parameters |
implementing optional haunt column |
||
| 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>{{EnemyList|header|include=drops|title={{DQ2}}|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. | ||
* | *include: An optional parameter consisting of a string containing "drops", "haunts", or both. Formats the table headers to display item drop and/or haunt information. | ||
*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. | ||
*subtitle: Subtitle to be included on the table header. This parameter is optional and most often will be the console version of the game name which is used for the title. | *subtitle: Subtitle to be included on the table header. This parameter is optional and most often will be the console version of the game name which is used for the title. | ||
| Line 21: | Line 21: | ||
*drop2: Same as drop, for a second item. | *drop2: Same as drop, for a second item. | ||
*rate2: Same as rate, for a second item. | *rate2: Same as rate, for a second item. | ||
*haunt: The monster's haunt. | |||
===Note=== | ===Note=== | ||
| Line 26: | Line 27: | ||
<pre>{{EnemyList|note|text=Enemy A can only be fought at night!}}</pre> | <pre>{{EnemyList|note|text=Enemy A can only be fought at night!}}</pre> | ||
*note: A required parameter specifying the note to be added to the table. | *note: A required parameter specifying the note to be added to the table. | ||
*text: A required parameter with the text to be displayed. | *text: A required parameter with the text to be displayed. | ||
===Footer=== | ===Footer=== | ||
| Line 41: | Line 41: | ||
{{EnemyList|footer}} | {{EnemyList|footer}} | ||
{{EnemyList|header| | {{EnemyList|header|include=drops|title={{DQ5}}|subtitle=DS}} | ||
{{EnemyList|entry|enemy=[[Flamethrower]]|gold=10|exp=1000|drop=Medicinal herbs|rate=1/64}} | {{EnemyList|entry|enemy=[[Flamethrower]]|gold=10|exp=1000|drop=Medicinal herbs|rate=1/64}} | ||
{{EnemyList|entry|enemy=[[Shadow]]|gold=10|exp=102|drop=None|rate=N/A}} | {{EnemyList|entry|enemy=[[Shadow]]|gold=10|exp=102|drop=None|rate=N/A}} | ||
| Line 56: | Line 56: | ||
{{EnemyList|footer}} | {{EnemyList|footer}} | ||
{{EnemyList|header| | {{EnemyList|header|include=drops|title={{DQ5}}|subtitle=DS}} | ||
{{EnemyList|entry|enemy=[[Flamethrower]]|gold=10|exp=1000|drop=Medicinal herbs|rate=1/64}} | {{EnemyList|entry|enemy=[[Flamethrower]]|gold=10|exp=1000|drop=Medicinal herbs|rate=1/64}} | ||
{{EnemyList|entry|enemy=[[Shadow]]|gold=10|exp=102|drop=None|rate=N/A}} | {{EnemyList|entry|enemy=[[Shadow]]|gold=10|exp=102|drop=None|rate=N/A}} | ||