Editing
Template:Inn/doc
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
The Inn template is used to display the price of inn lodging at various locations in ''[[Dragon Quest (series)|Dragon Quest]]'' games. ==Usage== In almost all cases, using this template should be preceded by an '''Inn''' heading on the article it is being transcluded onto. This is because there is no label marking the table as inn data within this template. This is consistent with other location templates. ===Header=== A header call to this template should be the first usage of this template on any page. <pre>{{Inn|header}}</pre> *header: A required parameter which marks this as the start of an inn table. ===Entries=== Each entry in the Inn table is represented by a single template call. <pre>{{Inn|entry|price=4g per person|game={{Dragon Quest}}|console={{NES}}}}</pre> *entry: A required parameter which marks this as a single inn table entry. *price: The price of a stay at a single inn. Should be detailed in terms of money units and price by person or group. *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! ===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=== The footer call marks the end of the Inn table. <pre>{{Inn|footer}}</pre> *footer: A required parameter marking the template as the footer. ==Example== ===Sample=== {{Inn|header}} {{Inn|entry|price=4g per person|game={{Dragon Quest II}}|console={{NES}}}} {{Inn|entry|price=10g|game={{Dragon Quest III}}|console={{GBC}}}} {{Inn|note|text=Sleeping at this inn triggers a dream cut-scene.}} {{Inn|footer}} ===Code=== <pre> {{Inn|header}} {{Inn|entry|price=4g per person|game={{Dragon Quest II}}|console={{NES}}}} {{Inn|entry|price=10g|game={{Dragon Quest III}}|console={{GBC}}}} {{Inn|note|text=Sleeping at this inn triggers a dream cut-scene.}} {{Inn|footer}} </pre>
Summary:
Please note that all contributions to Dragon Quest Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Dragon Quest Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Dragon Quest II
(
edit
)
Template:Dragon Quest III
(
edit
)
Template:GBC
(
edit
)
Template:Inn
(
edit
)
Template:NES
(
edit
)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Template
Discussion
English
Views
Read
Edit source
View history
More
Search
Navigation
Main page
About
Community portal
Recent changes
Random page
Discord
Tools
What links here
Related changes
Special pages
Page information
Latest Updates
New Articles
New Files
Wanted Articles
Recurring aspects
What is Dragon Quest?
Heroes
Skills & spells
Monsters
Affiliates
Dragon's Den
Mystery Dungeon Franchise Wiki
Dragon Quest Plushes Wiki