Ashes of Creation Wiki

We've Moved! Just as Gamepedia has joined forces with Fandom, this wiki had joined forces with our Fandom equivalent. The wiki has been archived and we ask that readers and editors move to the now combined wiki on Fandom. Click to go to the new wiki.

READ MORE

Ashes of Creation Wiki
No edit summary
No edit summary
 
Line 9: Line 9:
 
== Example ==
 
== Example ==
 
<code><nowiki><center></nowiki></code>
 
<code><nowiki><center></nowiki></code>
:{{tlx|MP icons|Link-guides.png|Special:Preferences{{!}}Special: Preferences}} &mdash; This line demonstrates how longer titles can be made to wrap if they have spaces
+
:{{tlx|FP icon|Link-guides.png|Special:Preferences{{!}}Special: Preferences}} &mdash; This line demonstrates how longer titles can be made to wrap if they have spaces
:{{tlx|MP icons|Link-guides.png|nolink=1|Main Page}} &mdash; This line demonstrates how to remove the text link below the icon
+
:{{tlx|FP icon|Link-guides.png|nolink=1|Main Page}} &mdash; This line demonstrates how to remove the text link below the icon
:{{tlx|MP icons|Link-guides.png|https://google.com Google}} &mdash; This line demonstrates how to create an external link
+
:{{tlx|FP icon|Link-guides.png|https://google.com Google}} &mdash; This line demonstrates how to create an external link
:{{tlx|MP icons|Link-guides.png|Project:Community portal{{(}}!{{)}}Locations}} &mdash; This line demonstrates how to change the display text for a given link
+
:{{tlx|FP icon|Link-guides.png|Project:Community portal{{(}}!{{)}}Locations}} &mdash; This line demonstrates how to change the display text for a given link
:{{tlx|MP icons|Link-guides.png|Special:Random|size{{=}}100px}} &mdash; This image has a size parameter
+
:{{tlx|FP icon|Link-guides.png|Special:Random|size{{=}}100px}} &mdash; This image has a size parameter
 
<code><nowiki></center></nowiki></code>
 
<code><nowiki></center></nowiki></code>
   
 
'''Generates''':
 
'''Generates''':
 
<center>
 
<center>
{{MP icons|Link-guides.png|Special:Preferences{{!}}Special: Preferences}}
+
{{FP icon|Link-guides.png|Special:Preferences{{!}}Special: Preferences}}
{{MP icons|Link-guides.png|nolink=1|Main Page}}
+
{{FP icon|Link-guides.png|nolink=1|Main Page}}
{{MP icons|Link-guides.png|https://google.com Google}}
+
{{FP icon|Link-guides.png|https://google.com Google}}
{{MP icons|Link-guides.png|Project:Community portal{{!}}Locations}}
+
{{FP icon|Link-guides.png|Project:Community portal{{!}}Locations}}
{{MP icons|Link-guides.png|Special:Random|size=100px}}
+
{{FP icon|Link-guides.png|Special:Random|size=100px}}
 
</center>
 
</center>
   

Latest revision as of 11:43, 24 June 2019

Template-info Documentation

This template creates a main page icon with a text link underneath. As the page width narrows, a group of these icons will rearrange themselves onto as many lines as necessary. The group can be centered by enclosing the template calls in <center> ... </center> tags.

Customization

  • The vertical alignment can be changed from either top to bottom depending on the nature of the icons.
  • The default size of the icons can be changed, or the size parameter can be set.
  • The text links under the icons can be removed.

Example

<center>

{{FP icon|Link-guides.png|Special:Preferences|Special: Preferences}} — This line demonstrates how longer titles can be made to wrap if they have spaces
{{FP icon|Link-guides.png|Main Page}} — This line demonstrates how to remove the text link below the icon
{{FP icon|Link-guides.png|https://google.com Google}} — This line demonstrates how to create an external link
{{FP icon|Link-guides.png|Project:Community portal{{!}}Locations}} — This line demonstrates how to change the display text for a given link
{{FP icon|Link-guides.png|Special:Random|size=100px}} — This image has a size parameter

</center>

Generates:

Main Page