Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
DOORS Site Logo

Welcome to the Official DOORS Wiki!
Please read the Wiki Rules the Manual of Style and familiarise yourself with our Wiki Policies before contributing to get a better understanding of what content is allowed on our wiki and how to display it properly, if you need help don't hesitate to reach out to a DOORS Wiki Staff Member.

Template:Player: Difference between revisions

Template page
No edit summary
m (remove old/useless parameters)
Line 4: Line 4:
<default>{{PAGENAME}}</default>
<default>{{PAGENAME}}</default>
</title>
</title>
<image source="image1">
<image source="image">
<caption source="caption-image1"/>
<caption source="caption-image"/>
</image>
</image>
<group>
<group>
Line 22: Line 22:
</data>
</data>
<data source="enemies">
<data source="enemies">
<label>Enemies</label>
<label>Opposition</label>
</data>
</data>
</group>
</group>
<group collapse="closed">
<group collapse="closed">
<header source="sound_files">SOUND FILES</header>
<header source="sound_files">SOUND FILES</header>
<data source="sound_1">
<data source="sounds">
<label>Sound 1</label>
<label>Sounds</label>
</data>
<data source="sound_2">
<label>Sound 2</label>
</data>
<data source="sound_3">
<label>Sound 3</label>
</data>
<data source="sound_4">
<label>Sound 4</label>
</data>
</data>
</group>
</group>
</infobox>
</infobox>
</includeonly>
</includeonly>
<noinclude>
<noinclude>{{Documentation}}
Example usage:
{{Player
| title1=Example
| image1=Example.jpg
| caption-image1=Example
| information=Example
| floors=Example
| objective=Example
| additional_information=Example
| allies=Example
| enemies=Example
| sound_files=Example
| sound_1=Example
| sound_2=Example
| sound_3=Example
| sound_4=Example}}
<pre>
{{Player
| title1=Example
| image1=Example.jpg
| caption-image1=Example
| information=Example
| floors=Example
| objective=Example
| additional_information=Example
| allies=Example
| enemies=Example
| sound_files=Example
| sound_1=Example
| sound_2=Example
| sound_3=Example
| sound_4=Example}}
</pre>
<templatedata>
<templatedata>
{"params":
{"params":{"title1":{"suggested":true},"image1":{"suggested":true},"caption-image1":{"suggested":true},"information":{"suggested":true},"floors":{"suggested":true},"objective":{"suggested":true},"additional_information":{"suggested":true},"allies":{"suggested":true},"enemies":{"suggested":true},"sound_files":{"suggested":true},"sound_1":{"suggested":true},"sound_2":{"suggested":true},"sound_3":{"suggested":true},"sound_4":{"suggested":true}},"sets":[],"maps":{}}
{
"title":{"suggested":false, "description": "title of the infobox"},
"image":{"suggested":true},
"caption":{"suggested":false, "description": "image caption"},
"floors":{"suggested":true, "description": "floors that subject appears on"},
"objective":{"suggested":true},
"allies":{"suggested":true},
"opposition":{"suggested":true},
"sounds":{"suggested":true}
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 10:34, 26 April 2025


{{#vardefine: base page |

   Template:Player
 

}}{{#vardefine: current page | Template:Player}}{{#vardefine: doc page |

 {{#var: base page}}/doc

}}{{#vardefine: namespace |

 Template

}}{{#vardefine: preload |

 Template:Documentation/preload&summary=Create+%2Fdoc+subpage+for+%5B%5B%7B%7B%23var%3A+base+page%7D%7D%5D%5D&editintro=Template:Documentation/editintro-doc

}}{{#vardefine: preload-sandbox |

 Template:Documentation/preload-sandbox&summary=Create+sandbox+subpage+for+experimenting+on+template+%5B%5B%7B%7B%23var%3A+base+page%7D%7D%5D%5D

}}{{#vardefine: sandbox |

 {{#var: base page}}/sandbox

}}{{#vardefine: page text |

 page

}}{{#vardefine: doc image |

  

}}

{{#var: doc image }}{{#var: page text}} Documentation[[[[:Template:Fullurl:]] create] | [[Special:Purge/{{#var: current page}}|purge]]]

The documentation for this {{#var: page text}} does not exist. Create it at [[[:Template:Fullurl:]] {{#var: doc page}}].

[[[:Template:Fullurl:]] Create documentation] for this template.
Editors can experiment in this {{#var: page text}}'s sandbox ([[[:Template:Fullurl:]] create] | [[[:Template:Fullurl:]] mirror]) page.
[[Special:PrefixIndex/{{#var: current page}}|Subpages of this {{#var: page text}}]].

No description.

Template parameters

ParameterDescriptionTypeStatus
titletitle

title of the infobox

Unknownoptional
imageimage

no description

Unknownsuggested
captioncaption

image caption

Unknownoptional
floorsfloors

floors that subject appears on

Unknownsuggested
objectiveobjective

no description

Unknownsuggested
alliesallies

no description

Unknownsuggested
oppositionopposition

no description

Unknownsuggested
soundssounds

no description

Unknownsuggested