Difference between revisions of "Template:External icons"

From Wikispooks
Jump to navigation Jump to search
m (Text replacement - "WSusername" to "WSuserpage")
Line 18: Line 18:
 
|twitter    = Twitter handle of the [[twitter]] page ''([[Property:Has twitter]])''
 
|twitter    = Twitter handle of the [[twitter]] page ''([[Property:Has twitter]])''
 
|{{PURPLE|youtube}}    = URL of the [[youtube]] page ''([[Property:Has youtube]])''
 
|{{PURPLE|youtube}}    = URL of the [[youtube]] page ''([[Property:Has youtube]])''
|{{BLUE|WS_username}}    = Pagename of the WS userpage ''([[Property:Has WSusername]])''
+
|{{BLUE|WS_username}}    = Pagename of the WS userpage ''([[Property:Has WSuserpage]])''
 
}}</poem></noinclude><includeonly><!--
 
}}</poem></noinclude><includeonly><!--
 
-->{{External icons/Xicon|{{{historycommons|}}}|Has historycommons|historycommons-icon.png|History Commons}}<!--
 
-->{{External icons/Xicon|{{{historycommons|}}}|Has historycommons|historycommons-icon.png|History Commons}}<!--
Line 31: Line 31:
 
-->{{External icons/Xicon|{{TwitterLink|{{{twitter|}}}}}|Has twitter|twitter-icon.png|Twitter}}<!--
 
-->{{External icons/Xicon|{{TwitterLink|{{{twitter|}}}}}|Has twitter|twitter-icon.png|Twitter}}<!--
 
-->{{External icons/Xicon|{{{youtube|}}}|Has youtube|youtube-icon.png|YouTube}}<!--
 
-->{{External icons/Xicon|{{{youtube|}}}|Has youtube|youtube-icon.png|YouTube}}<!--
-->{{#if: {{{WS_username|}}}|[[Category:Wikispooks Users With Pages]]{{External icons/Xicon|{{fullurl:{{{WS_username|}}}}}|Has WSusername|Wikispooks logo.png|Wikispooks userpage}}}}</includeonly>
+
-->{{#if: {{{WS_username|}}}|[[Category:Wikispooks Users With Pages]]{{External icons/Xicon|{{fullurl:{{{WS_username|}}}}}|Has WSuserpage|Wikispooks logo.png|Wikispooks userpage}}}}</includeonly>

Revision as of 13:52, 14 October 2016

This template generates a list of icons, usually placed at the top of an infobox. The icons are created by Template:External icons/Xicon.
The Wikipedia icon changes to show protection or not, and is called directly. This creates a list of the other icons in the infobox.
Many pages will have no icons at all.

Blue parameters are for a single Wikispooks page name (If no suitable page exists, then pick a title for a future page)
Brown parameters are for numbers
Green parameters are for comma-separated lists of page names (Or planned page names).
Navy parameters are for dates
Orange parameters are for booleans. (Usually, either "Yes" or just leave blank).
Purple parameters are URLs.
Violet parameters are slash-separated lists.
Pink parameters are for coordinates.
Crossed out parameters were formerly available, but have been upgraded. Some may still work, but do not use these.

{{External icons
|facebook = URL of the facebook page (Property:Has facebook)
|historycommons = URL of the History commons page (Property:Has historycommons)
|imdb = URL of the IMDB page (Property:Has imdb)
|instagram = URL of the instagram page (Property:Has instagram)
|linkedin = URL of the linkedin page (Property:Has linkedin)
|namebase = URL of the namebase page (Property:Has namebase)
|nndb = URL of the NNDB page (Property:Has nndb)
|powerbase = URL of the powerbase page (Property:Has powerbase)
|sourcewatch = URL of the sourcewatch page (Property:Has sourcewatch)
|spartacus = URL of the spartacus page (Property:Has spartacus)
|twitter = Twitter handle of the twitter page (Property:Has twitter)
|youtube = URL of the youtube page (Property:Has youtube)
|WS_username = Pagename of the WS userpage (Property:Has WSuserpage)
}}