User:Trig Jegman/Icon: Difference between revisions
Jump to navigation
Jump to search
Trig Jegman (talk | contribs) (Created page with "<includeonly>[[File:{{{subject|}}} {{{game|}}}{{#if:{{{variation|}}}|{{{variation|}}} | }}icon.{{{ext|png}}}|{{{size|24x24px}}}|alt={{#if:{{{textlink|}}}|{{{textlink|}}}|{{{subject|}}}}}|class={{{class|}}}|link={{#if:{{{textlink|}}}|{{{textlink|}}}|{{{subject|}}}}}]]{{#if:{{{textlink|}}}|[[{{{textlink|}}}]]|}}</includeonly><noinclude> {|class = "wikitable" ! Code || Result |- | <pre>{{icon|Swooping Snitchbug}}</pre> | {{User:Trig Jegman/Icon|subject=Swo...") |
Trig Jegman (talk | contribs) mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>[[File:{{{subject | <includeonly>[[File:{{{subject|}}}{{#if:{{{variation|}}}| {{{variation|}}} | }}{{{game|}}} icon.{{{ext|png}}}|{{{size|24x24px}}}|alt={{#if:{{{textlink|}}}|{{{textlink|}}}|{{{subject|}}}}}|class={{{class|}}}|link={{#if:{{{textlink|}}}|{{{textlink|}}}|{{{subject|}}}}}]]{{#if:{{{textlink|}}}|[[{{{textlink|}}}]]|​}}</includeonly><noinclude> | ||
==Parameters== | |||
{| class = "wikitable" | |||
! Parameter || Mandatory || Default || Purpose || Detailed description | |||
|- | |||
! subject | |||
| '''Yes''' || || Subject || Name of the subject's article. | |||
|- | |||
! textlink | |||
| No || || Text link || If this has a value, like "y", the subject's name will also appear in front of the icon, with a link to the subject's article. | |||
|- | |||
! size | |||
| No || 24x24px || Size || Use this to set the icon to a size of your liking. | |||
|- | |||
! variation | |||
| No || || Variation || If there is more than one version of the subject, use this parameter to specify it. This is valid for icon filenames that follow the following pattern: "<subject> <version> icon.png". | |||
|- | |||
! imglink | |||
| No || || Image Link || If the link to the article is different from the icon's name, specify it here. | |||
|- | |||
|- | |||
! class | |||
| No || || Class || If you'd like to add a CSS class to the image, specify it here. | |||
|- | |||
! extension | |||
| No || || Change file extension || If this parameter has a value, the file extension will be changed to it. | |||
|} | |||
==Skeleton== | |||
<pre> | |||
{{icon|subject=<main subject|variation=<any alternate forms>|size=<defaults to 24px>|imglink=<link on the image; defaults to subject>|textlink=<when added, creates a text link>|class=<optional css class>|ext=<non-png file extensions>}} | |||
</pre> | |||
{|class = "wikitable" | {|class = "wikitable" | ||
! Code || Result | ! Code || Result | ||
|- | |||
| <pre>{{icon|subject=Swooping Snitchbug}}</pre> | |||
| {{User:Trig Jegman/Icon|subject=Swooping Snitchbug|game=P3}} | |||
|- | |- | ||
| <pre>{{icon|Swooping Snitchbug}}</pre> | | <pre>{{icon|Swooping Snitchbug}}</pre> | ||
| {{User:Trig Jegman/Icon|subject= | | {{User:Trig Jegman/Icon|subject=Arachnode|game=P3|variation=Indigenous Life|ext=jpg}} | ||
|- | |- | ||
| <pre>{{icon|Shoot| | | <pre>{{icon|subject=Shoot|subject=Bookend|game=P4|textlink=Bookend|size=16px}}</pre> | ||
| {{User:Trig Jegman/Icon|subject= | | {{User:Trig Jegman/Icon|subject=Bookend|game=P4|textlink=Bookend|size=16px}} | ||
|- | |- | ||
| <pre>{{icon|Burgeoning Spiderwort| | | <pre>{{icon|Burgeoning Spiderwort|subject=Burgeoning Spiderwort|game=P4|variation=spicy|imglink=Burgeoning Spiderwort|textlink=Burgeoning Spiderwort{{!}}Spicy Burgeoning Spiderwort}}</pre> | ||
| {{User:Trig Jegman/Icon|subject=Burgeoning Spiderwort| | | {{User:Trig Jegman/Icon|subject=Burgeoning Spiderwort|game=P2|imglink=Burgeoning Spiderwort|textlink=Burgeoning Spiderwort{{!}}Spicy Burgeoning Spiderwort}} | ||
|} | |} |
Latest revision as of 17:28, March 7, 2024
Parameters
Parameter | Mandatory | Default | Purpose | Detailed description |
---|---|---|---|---|
subject | Yes | Subject | Name of the subject's article. | |
textlink | No | Text link | If this has a value, like "y", the subject's name will also appear in front of the icon, with a link to the subject's article. | |
size | No | 24x24px | Size | Use this to set the icon to a size of your liking. |
variation | No | Variation | If there is more than one version of the subject, use this parameter to specify it. This is valid for icon filenames that follow the following pattern: "<subject> <version> icon.png". | |
imglink | No | Image Link | If the link to the article is different from the icon's name, specify it here. | |
class | No | Class | If you'd like to add a CSS class to the image, specify it here. | |
extension | No | Change file extension | If this parameter has a value, the file extension will be changed to it. |
Skeleton
{{icon|subject=<main subject|variation=<any alternate forms>|size=<defaults to 24px>|imglink=<link on the image; defaults to subject>|textlink=<when added, creates a text link>|class=<optional css class>|ext=<non-png file extensions>}}
Code | Result |
---|---|
{{icon|subject=Swooping Snitchbug}} |
|
{{icon|Swooping Snitchbug}} |
File:Arachnode Indigenous Life P3 icon.jpg |
{{icon|subject=Shoot|subject=Bookend|game=P4|textlink=Bookend|size=16px}} |
Bookend |
{{icon|Burgeoning Spiderwort|subject=Burgeoning Spiderwort|game=P4|variation=spicy|imglink=Burgeoning Spiderwort|textlink=Burgeoning Spiderwort{{!}}Spicy Burgeoning Spiderwort}} |
Spicy Burgeoning SpiderwortSpicy Burgeoning Spiderwort |