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]
 
(35 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#invoke:ScopeBox|main}}</includeonly><noinclude><templatedata>
<templatestyles src="ScopeBox/styles.css"/><templatestyles src="ScopeBox/styles-Cosmoria.css"/><div class="template-ScopeBox">[[Scope:{{{link}}}|]]</div><noinclude>
<templatedata>
{
{
"params": {
"params": {
"symbol": {
"label": "Symbol",
"description": "The Scope symbol to put on the sides",
"example": "Cosmoria Symbol.png",
"type": "wiki-file-name",
"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": {
"identifier": {
"label": "Identifier",
"label": "Identifier",
"description": "The identifier of this scope box",
"description": "The identifier of this scope box",
"example": "vela",
"example": "cosmoria",
"type": "string",
"type": "string",
"required": true
},
"link": {
"label": "Link",
"description": "Where this scope box should link to",
"example": "Scope:Vela",
"type": "wiki-page-name",
"required": true
"required": true
}
}
},
},
"description": "Nicely formatted box which links to a scope 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>


==Example==
==Examples==
<pre>{{ScopeBox|link=Vela}}</pre>
<pre>{{ScopeBox|identifier=cosmoria|link=Cosmoria|symbol=Cosmoria Symbol.png}}</pre>
{{ScopeBox|link=Vela}}
{{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>
</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