Template:Inn/doc: Difference between revisions
No edit summary |
updated usage to include 'note' functionality |
||
| Line 14: | Line 14: | ||
*game: The game this inn represents. Should be an interwiki link. | *game: The game this inn represents. Should be an interwiki link. | ||
*console: The console version of the game. '''Note:''' This parameter should contain multiple console values separated by commas if the game and price parameters are the same! | *console: The console version of the game. '''Note:''' This parameter should contain multiple console values separated by commas if the game and price parameters are the same! | ||
===Notes=== | |||
A note(s) can be added to the inn table for additional details | |||
<pre>{{Inn|note|text=This inn is behind a [[Magic Key]] door.}}</pre> | |||
*note: A required parameter which marks this as a note | |||
*text: Text to be displayed within the note. | |||
===Footer=== | ===Footer=== | ||
The footer call marks the end of the Inn table. | The footer call marks the end of the Inn table. | ||
| Line 23: | Line 28: | ||
{{Inn|entry|price=4g per person|game=[[Dragon Warrior II]]|console=NES}} | {{Inn|entry|price=4g per person|game=[[Dragon Warrior II]]|console=NES}} | ||
{{Inn|entry|price=10g|game=[[Dragon Warrior III]]|console=GBC}} | {{Inn|entry|price=10g|game=[[Dragon Warrior III]]|console=GBC}} | ||
{{Inn|note|text=Sleeping at this inn triggers a dream cut-scene.}} | |||
{{Inn|footer}} | {{Inn|footer}} | ||
===Code=== | ===Code=== | ||
| Line 29: | Line 35: | ||
{{Inn|entry|price=4g per person|game=[[Dragon Warrior II]]|console=NES}} | {{Inn|entry|price=4g per person|game=[[Dragon Warrior II]]|console=NES}} | ||
{{Inn|entry|price=10g|game=[[Dragon Warrior III]]|console=GBC}} | {{Inn|entry|price=10g|game=[[Dragon Warrior III]]|console=GBC}} | ||
{{Inn|note|text=Sleeping at this inn triggers a dream cut-scene.}} | |||
{{Inn|footer}} | {{Inn|footer}} | ||
</pre> | </pre> | ||