Template:Alias: Difference between revisions
From Heterodontosaurus Balls
No edit summary |
Test |
||
| Line 1: | Line 1: | ||
<includeonly>[[File:{{{1}}}|link={{{2}}}]] [[File:LBubble.png]]<span class="alias">{{{3}}}</span>[[File:RBubble.png]]{{#css: .alias {border-top: 1px solid #000000; border-bottom: 1px solid #000000; padding-bottom: 3px; padding-top: 0;} .pi-group .alias {padding-top: 2px;} }}</includeonly><noinclude>'''Alias''' [[:Category:Templates|template]] creates a speech bubble for icons to speak about one another. Usually used in the "Aliases" section of the infobox, hence the name. Also can be used in Relationships sections of pages. | <includeonly>[[File:{{{1}}}|link={{{2}}}]] [[File:LBubble.png]]<span class="alias">{{{3}}}</span>{{#if:{{{4|}}}||[[File:RBubble.png]]}}{{#css: .alias {border-top: 1px solid #000000; border-bottom: 1px solid #000000; padding-bottom: 3px; padding-top: 0;} .pi-group .alias {padding-top: 2px;} }}</includeonly><noinclude>'''Alias''' [[:Category:Templates|template]] creates a speech bubble for icons to speak about one another. Usually used in the "Aliases" section of the infobox, hence the name. Also can be used in Relationships sections of pages. | ||
==Syntax== | ==Syntax== | ||
Latest revision as of 00:46, 14 May 2026
Alias template creates a speech bubble for icons to speak about one another. Usually used in the "Aliases" section of the infobox, hence the name. Also can be used in Relationships sections of pages.
Syntax
{{Alias|<Your character-icon.png>|<Link to the character's page>|<What the character says>}}
Example
{{Alias|Poland-icon.png|Poland|Lithuania}}
{{Alias|Poland-icon.png|Poland|{{i|Lithuania}} [[Lithuania]]}}
Template Data
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Icon | 1 | Make sure to include the -icon.png but not the File: | File | required |
| Link | 2 | The page the icon links to when clicked. | String | required |
| Text | 3 | What the icon is saying | String | required |
