Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
You must create an account or log in to edit.

Template:ScopeBox: Difference between revisions

Template page
Content deleted Content added
No edit summary
Tag: 2017 source edit
m Protected "Template:ScopeBox" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading]
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
{
{
"params": {
"params": {
"scope": {
"label": "Scope",
"description": "The Scope to link to",
"example": "Cosmoria",
"type": "string",
"required": true
},
"symbol": {
"symbol": {
"label": "Symbol",
"label": "Symbol",
Line 14: Line 7:
"example": "Cosmoria Symbol.png",
"example": "Cosmoria Symbol.png",
"type": "wiki-file-name",
"type": "wiki-file-name",
"required": true
"suggested": true
},
},
"left_symbol": {
"left_symbol": {
Line 23: Line 16:
"label": "Right symbol",
"label": "Right symbol",
"type": "wiki-file-name"
"type": "wiki-file-name"
},
"link": {
"label": "Link",
"description": "The Scope page to link to",
"example": "Cosmoria",
"type": "string",
"required": true
},
"identifier": {
"label": "Identifier",
"description": "The identifier of this scope box",
"example": "cosmoria",
"type": "string",
"required": true
}
}
},
},
"description": "Nicely formatted box for linking to your Scope's overview page",
"description": "Nicely formatted box for linking to your Scope's overview page",
"format": "inline"
"format": "inline",
"paramOrder": [
"identifier",
"link",
"symbol",
"left_symbol",
"right_symbol"
]
}
}
</templatedata>
</templatedata>


==Examples==
==Examples==
<pre>{{ScopeBox|scope=Cosmoria|symbol=Cosmoria Symbol.png}}</pre>
<pre>{{ScopeBox|identifier=cosmoria|link=Cosmoria|symbol=Cosmoria Symbol.png}}</pre>
{{ScopeBox|scope=Cosmoria|symbol=Cosmoria Symbol.png}}
{{ScopeBox|identifier=cosmoria|link=Cosmoria|symbol=Cosmoria Symbol.png}}


<pre>{{ScopeBox|scope=Chromagaia|symbol=Chromagaia-Glyph.png}}</pre>
<pre>{{ScopeBox|identifier=chromagaia|link=Chromagaia|symbol=Chromagaia-Glyph.png}}</pre>
{{ScopeBox|scope=Chromagaia|symbol=Chromagaia-Glyph.png}}
{{ScopeBox|identifier=chromagaia|link=Chromagaia|symbol=Chromagaia-Glyph.png}}
</noinclude>
</noinclude>

Latest revision as of 10:53, September 11, 2025

Nicely formatted box for linking to your Scope's overview page

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Identifieridentifier

The identifier of this scope box

Example
cosmoria
Stringrequired
Linklink

The Scope page to link to

Example
Cosmoria
Stringrequired
Symbolsymbol

The Scope symbol to put on the sides

Example
Cosmoria Symbol.png
Filesuggested
Left symbolleft_symbol

no description

Fileoptional
Right symbolright_symbol

no description

Fileoptional

Examples

{{ScopeBox|identifier=cosmoria|link=Cosmoria|symbol=Cosmoria Symbol.png}}
{{ScopeBox|identifier=chromagaia|link=Chromagaia|symbol=Chromagaia-Glyph.png}}
Contents