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] |
||
| (19 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{#invoke:ScopeBox|main}}</includeonly><noinclude><templatedata> |
|||
<templatestyles src="ScopeBox/styles.css"/><div class="template-ScopeBox"> |
|||
<div class="template-ScopeBox-content"> |
|||
<div>[[File:Cosmoria Symbol.png|80px|link=|alt=]]</div> |
|||
<div>[[Scope:{{{scope}}}|{{{scope}}}]]</div> |
|||
<div>[[File:Cosmoria Symbol.png|80px|link=|alt=]]</div> |
|||
</div> |
|||
</div><noinclude><templatedata> |
|||
{ |
{ |
||
"params": { |
"params": { |
||
" |
"symbol": { |
||
"label": " |
"label": "Symbol", |
||
"description": "The |
"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", |
"example": "Cosmoria", |
||
"type": "string", |
|||
"required": true |
|||
}, |
|||
"identifier": { |
|||
"label": "Identifier", |
|||
"description": "The identifier of this scope box", |
|||
"example": "cosmoria", |
|||
"type": "string", |
"type": "string", |
||
"required": true |
"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> |
</templatedata> |
||
== |
==Examples== |
||
<pre |
<pre>{{ScopeBox|identifier=cosmoria|link=Cosmoria|symbol=Cosmoria Symbol.png}}</pre> |
||
{{ScopeBox|identifier=cosmoria|link=Cosmoria|symbol=Cosmoria Symbol.png}} |
|||
<templatestyles src="ScopeBox/styles-Cosmoria.css"/>{{ScopeBox|scope=Cosmoria}} |
|||
<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}}