Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Special pages
Random page
Wiki Discord
Contents
Neighbors
Galaxy
> Hexia
> Norvan
> Pashah
> Taffeh
Creatures
> Insects
> Fishes
> Shore-Dwellers
Items
> Dishes
> Furniture
Game Systems
> Dress Up
> Luca Arbor
> Loomix Footprints
> Loomix Vehicle Services
> Loomix Homes
Search
Search
Appearance
Log in
Personal tools
Log in
Editing
Template
:
Icon/doc
Template
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Documentation/Header}} Template to display icons without link. ==Syntax== {{T|Icon |v1=file name without extension or Icon prefix |v2=customfile=full file name |P3=size=((XX)) |v4=top-left=content to insert in the icon's top-left corner |v5=top-left-style=inline styles to apply to the top-left icon |v6=top-right=content to insert in the icon's top-right corner |v7=top-right-style=inline styles to apply to the top-right icon |v8=bottom-left=content to insert in the icon's bottom-left corner |v9=bottom-left-style=inline styles to apply to the bottom-left icon |v10=bottom-right=content to insert in the icon's bottom-right corner |v11=bottom-right-style=inline styles to apply to the bottom-right icon |block=1}} * {{F|1}} or {{F|file}} — Value to insert as "name" in the {{F|((name))_Icon.png}} naming scheme to display as main image. ** If the file to use does not follow the naming scheme, {{F|customfile}} can be used instead. * {{F|2}} or {{F|size}} — The icon's size. Defaults to 20px. ==Examples== {{T|Icon|file=Dough|size=30|_Y_=1}}<br> {{T|Icon|Dough|30|_Y_=1}}<br> {{T|Icon|Hexia|class=day-invert-image|_Y_=1}}<br> {{T|Icon|customfile=Hexia Icon.png|size=40|class=day-invert-image|_Y_=1}}<br> ==Template Data== <templatedata>{ "params": { "1": { "aliases": [ "file" ], "label": "Icon", "description": "Name of file excluding prefix and extension.", "type": "string", "suggested": true }, "2": { "aliases": [ "size" ], "label": "Size", "description": "Size of icon.", "type": "number", "default": "20" }, "type": { "label": "Type", "description": "Prefix of the file name.", "type": "string", "default": "Icon" }, "ext": { "label": "Extension", "description": "File extension of icon.", "type": "string", "default": "png" }, "class": { "label": "Class", "description": "Custom class to add to file.", "example": "lightmode-drop-shadow", "type": "string" }, "customfile": { "label": "Custom File", "description": "Full file name to use instead value in \"1\".", "type": "wiki-file-name" }, "top-left": { "label": "Top Left", "description": "Content to place in top left of icon.", "type": "unbalanced-wikitext" }, "top-right": { "label": "Top Right", "description": "Content to place in top right of icon.", "type": "unbalanced-wikitext" }, "bottom-left": { "label": "Bottom Left", "description": "Content to place in bottom left of icon.", "type": "unbalanced-wikitext" }, "bottom-right": { "label": "Bottom Right", "description": "Content to place in bottom right of icon.", "type": "unbalanced-wikitext" }, "top-left-style": { "label": "Top Left Style", "description": "Additional style for \"top-left\" content.", "type": "string" }, "top-right-style": { "label": "Top Right Style", "description": "Additional style for \"top-right\" content.", "type": "string" }, "bottom-left-style": { "label": "Bottom Left Style", "description": "Additional style for \"bottom-left\" content.", "type": "string" }, "bottom-right-style": { "label": "Bottom Right Style", "description": "Additional style for \"bottom-right\" content.", "type": "string" } }, "description": "Template to display icons without link.", "format": "inline" }</templatedata> ==Related Templates== {{Special:PrefixIndex/Template:Icon/}} ==See Also== * [[Template:DIcon]] * [[Template:Card]] * [[Template:Item]]
Summary:
Please note that all contributions to The Petit Planet Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see
Petit Planet Wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Preview page with this template
Below are commonly used wikitext from
MediaWiki:Edittools
. Click on any to insert them in the edit box.
File Pages
==Summary==
==Licensing==
{{Fairuse}}
{{File|}}
Dynamic Page List
¦
²
«
»
²{¦}²
«»
«/»
«!----»
Array in DPL
¹
^2{
}^2
^2{¹}^2
Parser Functions
{{#if:||}}
{{#if:<condition>|<result if true>|<result if false>}}
{{#ifeq:|||}}
{{#ifeq:<text1>|<text2>|<result if text1=text2>|<result if text1≠text2>}}
{{#expr:}}
{{#expr:<mathematical expression>}}
{{#switch:||#default=}}
{{#switch:<text1>|<text2>=<result if text1=text2>|<text3>=<result if text1=text3>|#default=<result if no valid match>}}
{{#replace:||}}
{{#replace:<text1>|<plain text to find in text1>|<plain text to insert in place of the text found>}}
{{#titleparts:}}
{{#replace:<page name>}}
{{#tag:|}}
{{#tag:<name of html tag>|<content inside html tag>}}
Markup
{{}}
|
[]
[[]]
[[Category:]]
#REDIRECT [[]] [[Category:Redirect Pages]]
<code></code>
<includeonly></includeonly>
<noinclude></noinclude>
<nowiki></nowiki>
<!---->
<br>
§
Notices
{{Stub|}}
{{Stub Dialogue}}
{{Upcoming}}
{{Under Construction}}
{{Placeholder|}}
Magic Words
{{!}}
{{formatnum:}}
{{lc:}}
{{uc:}}
{{PAGENAME}}
{{FULLPAGENAME}}
{{ROOTPAGENAME}}
{{BASEPAGENAME}}
{{SUBPAGENAME}}
{{DISPLAYTITLE:|noreplace}}
__TOC__
__NOTOC__
__EXPECTUNUSEDCATEGORY__
__HIDDENCAT__
HTML Entities
—
,
­
Pages included on this page:
Template:Documentation/Header
(
edit
)
Template:Documentation/styles.css
(
edit
)
Template:F
(
edit
)
Template:Icon
(
edit
)
Template:T
(
edit
)
Module:Arguments
(
edit
)
Module:Arguments/i18n
(
edit
)
Module:Common/i18n
(
edit
)
Module:Config
(
edit
)
Module:Documentation
(
edit
)
Module:Documentation/config
(
edit
)
Module:Documentation/i18n
(
edit
)
Module:Entrypoint
(
edit
)
Module:Exists
(
edit
)
Module:Fallbacklist
(
edit
)
Module:Feature
(
edit
)
Module:Formatting
(
edit
)
Module:I18n
(
edit
)
Module:Languages
(
edit
)
Module:TableTools
(
edit
)
Module:Yesno
(
edit
)
Search
Search
Editing
Template
:
Icon/doc
Add topic