Template:Notoriety icon: Difference between revisions
From Corsair Cove Official Wiki
m Removed link to file |
changed default to extra small like all other icons |
||
| Line 1: | Line 1: | ||
<includeonly>{{#ifeq: {{{size| | <includeonly>{{#ifeq: {{{size|xs}}} | xs | ||
| [[File:T_ICO_ShipType_Raider.png|x16px|Notoriety|link=]] | | [[File:T_ICO_ShipType_Raider.png|x16px|Notoriety|link=]] | ||
| <div style="position: relative; display: inline-block; width: {{#switch: {{{size|md}}}|sm=25|md=51|lg=76|xl=102}}px; height: {{#switch: {{{size|md}}}|sm=32|md=64|lg=96|xl=128}}px; padding: 0; line-height: 0; font-size: 0;">[[File:T_Flag_Principle_Notoriety.png|x{{#switch: {{{size|md}}}|sm=32|md=64|lg=96|xl=128}}px|link=]]<div style="position: absolute; top: 30%; left: 20%; width: 60%; height: 50%;">[[File:T_ICO_VEC_P_Notoriety1.png|x{{#switch: {{{size|md}}}|sm=16|md=32|lg=48|xl=64}}px|Notoriety|link=]]</div></div> | | <div style="position: relative; display: inline-block; width: {{#switch: {{{size|md}}}|sm=25|md=51|lg=76|xl=102}}px; height: {{#switch: {{{size|md}}}|sm=32|md=64|lg=96|xl=128}}px; padding: 0; line-height: 0; font-size: 0;">[[File:T_Flag_Principle_Notoriety.png|x{{#switch: {{{size|md}}}|sm=32|md=64|lg=96|xl=128}}px|link=]]<div style="position: absolute; top: 30%; left: 20%; width: 60%; height: 50%;">[[File:T_ICO_VEC_P_Notoriety1.png|x{{#switch: {{{size|md}}}|sm=16|md=32|lg=48|xl=64}}px|Notoriety|link=]]</div></div> | ||
| Line 11: | Line 11: | ||
! Parameter !! Purpose | ! Parameter !! Purpose | ||
|- | |- | ||
| <code>size=</code> || | | <code>size=</code> || the size of the image, or omit this parameter and it will be the default extra small, appropriate for use inline in paragraphs: | ||
* <code>xs</code> - generates a colored vector icon only, no background image | * <code>xs</code> - default, generates a colored vector icon only, no background image | ||
* <code>sm</code> | * <code>sm</code> | ||
* <code>md</code> | * <code>md</code> | ||
* <code>lg</code> | * <code>lg</code> | ||
* <code>xl</code> | * <code>xl</code> | ||
Latest revision as of 01:58, 1 August 2026
Generates a Notoriety icon at standardized sizes.
Usage
| Parameter | Purpose |
|---|---|
size= |
the size of the image, or omit this parameter and it will be the default extra small, appropriate for use inline in paragraphs:
|
Examples
{{Notoriety icon|size=xs}}
{{Notoriety icon|size=sm}}
{{Notoriety icon|size=md}}
{{Notoriety icon|size=lg}}
{{Notoriety icon|size=xl}}

And in a table:
| extra small | |
| small | |
| medium | |
| large | |
![]() |
extra large |


