Witte moved page Template:Infobox dndlocation to Template:Infobox dndlocation/doc Tag: New redirect |
Created layout page Tag: Removed redirect |
||
| Line 1: | Line 1: | ||
<infobox> | |||
<title source="name"><default>{{PAGENAME}}</default></title> | |||
<image source="image"> | |||
<caption source="caption"> | |||
<default>{{{name|{{PAGENAME}}}}} image</default> | |||
</caption> | |||
</image> | |||
<data source="title"><label>Title</label></data> | |||
<group> | |||
<header>Statistics</header> | |||
<data source="location"><label>Location</label></data> | |||
<data source="status"><label>Status</label></data> | |||
</group> | |||
<group> | |||
<header>Physical attributes</header> | |||
<data source="age"><label>Age</label></data> | |||
</group> | |||
</infobox><noinclude>{{Documentation}}</noinclude> | |||
Latest revision as of 22:18, 1 March 2023
| File:Template-info.svg | Template Documentation (sometimes hidden or invisible)
Template tools: purge • what links here • what transclude this • subpages |
- Description
- This template is used to create a minimalist game location infobox (the "dnd" in the name is misleading).
- Syntax
- Type
somewhere, with parameters as shown below.{{infobox dndlocation|...}}
Usage
{{Infobox dndlocation
|name =
|image =
|caption =
|title =
|location =
|status =
|age =
}}
Preview
Click here to refresh the preview
{{Infobox dndlocation
|name = Some Character
|image = Placeholder person.png
|caption = Some
|title = n/a
|location = Someplace
|status = Intact
|age = 20
}}
A D&D style place
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Name of the place | String | optional |
| Image | image | Filename to put in infobox. Use <gallery> to use multiple images. | File | optional |
| Caption | caption | Caption for the place image | String | optional |
| Title | title | Any official titles the place might have | String | optional |
| Location | location | Name of town/country the place is located in | String | optional |
| Status | status | How is the place doing in general? | String | optional |
| Age | age | Age of the character | Number | optional |
Visit Template:Infobox dndlocation/doc to edit this text! (How does this work?) (Refresh this text - why?)