Template:Teleportal/doc: Difference between revisions
Jump to navigation
Jump to search
updated to match template |
m 5 revisions: importing Template namespace from Wikia |
(No difference)
| |
Revision as of 17:49, 20 October 2010
The Teleportal template is used to display teleportals at various locations in Dragon Quest games.
Usage
In almost all cases, using this template should be preceded by a Teleportals heading on the article it is being transcluded onto. This is because there is no label marking the table as teleportal 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.
{{Teleportal|header|title=[[Dragon Quest IV]]|subtitle=NES}}
- header: A required parameter which marks this as the start of an teleportal table.
- title: The title of the teleportal table. Should be a link to a game if there is more than one teleportal table. Otherwise, it should be "Teleportals".
- subtitle: Should be the console version when title is a game name.
Entries
Each entry in the Teleportal table is represented by a single template call.
{{Teleportal|entry|info=B2 left corner|destination=[[Rimuldar]]|game=[[Dragon Warrior]]|console=NES}}
- entry: A required parameter which marks this as a single teleportal table entry.
- info: General info about the location of the teleportal.
- destination: Location the teleportal connects to. Should be an interwiki link if applicable.
The footer call marks the end of the Teleportal table.
{{Teleportal|footer}}
- footer: A required parameter marking the template as the footer.
Example
Sample
| Dragon Quest (NES) | |
|---|---|
| Info | Destination |
| B2 bottom right corner | Mercado |
| Behind Final Key door | Shrine East of Isis |
Code
{{Teleportal|header|title=[[Dragon Quest]]|subtitle=NES}}
{{Teleportal|entry|info=B2 bottom right corner|destination=[[Mercado]]}}
{{Teleportal|entry|info=Behind [[Final Key]] door|destination=Shrine East of Isis}}
{{Teleportal|footer}}