Editing Template:Auto List to Icons

Jump to navigation Jump to search

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.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
<noinclude>This template converts keywords into icons, if found.
<noinclude>Semantic keywords based on ask:<br>
{{#ask:[[Category:Infobox Icons]]
|mainlabel=-
|?Semantic Keyword
|headers=hide
|link=none
|format=array
|name=iconslist
}}{{#arrayprint:iconslist}}
 
<noinclude>Icon types based on ask:<br>
{{#ask:[[Category:Infobox Icons]]
|mainlabel=-
|?Infobox Icon Type
|format=array
|name=typelist
|headers=hide
|link=none
|manysep=,<nowiki> </nowiki>
|sep=,<nowiki> </nowiki>
}}
Full list:<br>
{{#arrayprint:typelist}}


Read below the legend for typical template instructions.
Unique list:<br>
{{#arrayunique:typelist}}{{#arrayprint:typelist}}


Icon Legend
Auto table
{{List to Icons Table|#userparam=intro}}
{{List to Icons Table|#userparam=intro}}
{{List to Icons Table|#userparam=header|header=<div id="activities">Nature Activities (hiking, biking, etc.) (Infobox Icon Type: Activities)</div>}}
{{List to Icons Table|#userparam=header|header=<div id="activities">Nature Activities (hiking, biking, etc.) (Infobox Icon Type: Activities)</div>}}
Line 66: Line 89:
}}
}}
{{List to Icons Table|#userparam=outro}}
{{List to Icons Table|#userparam=outro}}
Simply pass the template the comma separated list of terms and it will convert any found keywords to icons, and list the remainder. Although the icons have different groupings, the template doesn't care and is simply looking for keywords with an associated icon.
Expected usage:
<pre>
{{Template:Auto List to Icons|List=<insert comma separated list>}}
</pre>


How this works:
How this works:
Please note that all contributions to TEHCC Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, 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 (see TEHCC Wiki:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Template used on this page: