Template:ScopeBox: Difference between revisions
Template page
More actions
Content deleted Content added
Tesinormed (talk | contribs) No edit summary Tag: 2017 source edit |
Tesinormed (talk | contribs) m Protected "Template:ScopeBox" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading] |
||
| (46 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{#invoke:ScopeBox|main}}</includeonly><noinclude><templatedata> |
|||
<includeonly><rawcss ref="{{{identifier}}}-__scope-box"/><div class="scope-box scope-box-{{{identifier}}}"> [[{{{link}}}]]</div></includeonly><noinclude> |
|||
<templatedata> |
|||
{ |
{ |
||
"params": { |
"params": { |
||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
"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": " |
"example": "cosmoria", |
||
"type": "string", |
"type": "string", |
||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
"required": true |
"required": true |
||
} |
} |
||
}, |
}, |
||
"description": "Nicely formatted box |
"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== |
||
<pre>{{ScopeBox|identifier=cosmoria|link=Cosmoria|symbol=Cosmoria Symbol.png}}</pre> |
|||
<pre> |
|||
{{ScopeBox|identifier= |
{{ScopeBox|identifier=cosmoria|link=Cosmoria|symbol=Cosmoria Symbol.png}} |
||
</pre> |
|||
{{ScopeBox|identifier= |
<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
| 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}}