Difference between revisions of "Template:External icons"

From Wikispooks
Jump to navigation Jump to search
(infogalactic)
(Wikiquote)
Line 22: Line 22:
 
|{{PURPLE|spartacus}}  = URL of the [[spartacus]] page ''([[Property:Has spartacus]])''
 
|{{PURPLE|spartacus}}  = URL of the [[spartacus]] page ''([[Property:Has spartacus]])''
 
|twitter    = Twitter handle of the [[twitter]] page ''([[Property:Has twitter]])''
 
|twitter    = Twitter handle of the [[twitter]] page ''([[Property:Has twitter]])''
 +
|{{PURPLE|wikiquote}}    = URL of the [[wikiquote]] page ''([[Property:Has wikiquote]])''
 
|{{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 WSuserpage]])''
 
|{{BLUE|WS_username}}    = Pagename of the WS userpage ''([[Property:Has WSuserpage]])''
Line 42: Line 43:
 
-->{{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}}<!--
 +
-->{{External icons/Xicon|{{{wikiquote|}}}|Has wikiquote|wikiquote-icon.png|Wikiquote}}<!--
 
-->{{#if: {{{WS_username|}}}|[[Category:Wikispooks Users With Pages]]{{External icons/Xicon|{{fullurl:{{{WS_username|}}}}}|Has WSuserpage|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 17:18, 5 July 2017

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
|amazon = URL of the amazon page (Property:Has amazon)
|cspan = URL of the C-Span page (Property:Has cspan)
|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)
|infogalactic = URL of the infogalactic page (Property:Has infogalactic)
|instagram = URL of the instagram page (Property:Has instagram)
|isgp = URL of the ISGP page (Property:Has isgp)
|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)
|prabook = URL of the prabook page (Property:Has prabook)
|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)
|wikiquote = URL of the wikiquote page (Property:Has wikiquote)
|youtube = URL of the youtube page (Property:Has youtube)
|WS_username = Pagename of the WS userpage (Property:Has WSuserpage)
}}