Template:ScopeBox: Difference between revisions
Template page
More actions
Content deleted Content added
imported>Mittence No edit summary |
Tesinormed (talk | contribs) m Protected "Template:ScopeBox" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading] |
||
| (71 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{#invoke:ScopeBox|main}}</includeonly><noinclude><templatedata> |
|||
<div class="realm-box realm-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", |
|||
<center><span style="olor: #0000; background-color: #0000">[[{{{link}}}]]</span></center> |
|||
"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
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Identifier | identifier | The identifier of this scope box
| String | required |
| Link | link | The Scope page to link to
| String | required |
| Symbol | symbol | The Scope symbol to put on the sides
| File | suggested |
| Left symbol | left_symbol | no description | File | optional |
| Right symbol | right_symbol | no description | File | optional |
Examples
{{ScopeBox|identifier=cosmoria|link=Cosmoria|symbol=Cosmoria Symbol.png}}
{{ScopeBox|identifier=chromagaia|link=Chromagaia|symbol=Chromagaia-Glyph.png}}