Template:FP icon/doc: Difference between revisions
Template page
More actions
fandomwiki>Game widow No edit summary |
Koza1brada (talk | contribs) m 3 revisions imported: Try to import fandom pages (manual dump, 9) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{doc/start}} | {{doc/start}} | ||
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 < | 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 <code><nowiki><center> ... </center></nowiki></code> tags. | ||
== Customization == | == Customization == | ||
| Line 8: | Line 8: | ||
== Example == | == Example == | ||
< | <code><nowiki><center></nowiki></code> | ||
:{{tlx|FP icon|Link-guides.png|Special:Preferences{{!}}Special: Preferences}} — 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}} — This line demonstrates how longer titles can be made to wrap if they have spaces | ||
:{{tlx|FP icon|Link-guides.png|nolink=1|Main Page}} — This line demonstrates how to remove the text link below the icon | :{{tlx|FP icon|Link-guides.png|nolink=1|Main Page}} — This line demonstrates how to remove the text link below the icon | ||
| Line 14: | Line 14: | ||
:{{tlx|FP icon|Link-guides.png|Project:Community portal{{(}}!{{)}}Locations}} — This line demonstrates how to change the display text for a given link | :{{tlx|FP icon|Link-guides.png|Project:Community portal{{(}}!{{)}}Locations}} — This line demonstrates how to change the display text for a given link | ||
:{{tlx|FP icon|Link-guides.png|Special:Random|size{{=}}100px}} — This image has a size parameter | :{{tlx|FP icon|Link-guides.png|Special:Random|size{{=}}100px}} — This image has a size parameter | ||
< | <code><nowiki></center></nowiki></code> | ||
'''Generates''': | '''Generates''': | ||