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
m Duodecillionaire moved page Template:Scope box to Template:ScopeBox: easier to type
m Protected "Template:ScopeBox" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading]
 
(59 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#invoke:ScopeBox|main}}</includeonly><noinclude><templatedata>
<div class="scope-box scope-box-{{{class}}}" style="
{
--border-color: #{{{borderColor}}};
"params": {
--color-0: #{{{color0}}};
"symbol": {
--color-1: #{{{color1}}};
"label": "Symbol",
--color-2: #{{{color2}}};
"description": "The Scope symbol to put on the sides",
">
"example": "Cosmoria Symbol.png",
<div style="text-align: center;">[[{{{link}}}]]</div>
"type": "wiki-file-name",
</div>
"suggested": true
},
"left_symbol": {
"label": "Left symbol",
"type": "wiki-file-name"
},
"right_symbol": {
"label": "Right symbol",
"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",
"format": "inline",
"paramOrder": [
"identifier",
"link",
"symbol",
"left_symbol",
"right_symbol"
]
}
</templatedata>

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

<pre>{{ScopeBox|identifier=chromagaia|link=Chromagaia|symbol=Chromagaia-Glyph.png}}</pre>
{{ScopeBox|identifier=chromagaia|link=Chromagaia|symbol=Chromagaia-Glyph.png}}
</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