Difference between revisions of "Template:External icons"

From Wikispooks
Jump to navigation Jump to search
(Add facebook icon)
(prabook)
Line 14: Line 14:
 
|{{PURPLE|nndb}}    = URL of the [[NNDB]] page ''([[Property:Has nndb]])''
 
|{{PURPLE|nndb}}    = URL of the [[NNDB]] page ''([[Property:Has nndb]])''
 
|{{PURPLE|powerbase}}  = URL of the [[powerbase]] page ''([[Property:Has powerbase]])''
 
|{{PURPLE|powerbase}}  = URL of the [[powerbase]] page ''([[Property:Has powerbase]])''
 +
|{{PURPLE|prabook}}  = URL of the [[prabook]] page ''([[Property:Has prabook]])''
 
|{{PURPLE|sourcewatch}}  = URL of the [[sourcewatch]] page ''([[Property:Has sourcewatch]])''
 
|{{PURPLE|sourcewatch}}  = URL of the [[sourcewatch]] page ''([[Property:Has sourcewatch]])''
 
|{{PURPLE|spartacus}}  = URL of the [[spartacus]] page ''([[Property:Has spartacus]])''
 
|{{PURPLE|spartacus}}  = URL of the [[spartacus]] page ''([[Property:Has spartacus]])''
Line 28: Line 29:
 
-->{{External icons/Xicon|{{{nndb|}}}|Has nndb|nndb-icon.png|NNDB}}<!--
 
-->{{External icons/Xicon|{{{nndb|}}}|Has nndb|nndb-icon.png|NNDB}}<!--
 
-->{{External icons/Xicon|{{{powerbase|}}}|Has powerbase|powerbase-icon.png|Powerbase}}<!--
 
-->{{External icons/Xicon|{{{powerbase|}}}|Has powerbase|powerbase-icon.png|Powerbase}}<!--
 +
-->{{External icons/Xicon|{{{prabook|}}}|Has prabook|prabook-icon.png|Prabook}}<!--
 
-->{{External icons/Xicon|{{{sourcewatch|}}}|Has sourcewatch|sourcewatch-icon.png|Sourcewatch}}<!--
 
-->{{External icons/Xicon|{{{sourcewatch|}}}|Has sourcewatch|sourcewatch-icon.png|Sourcewatch}}<!--
 
-->{{External icons/Xicon|{{{spartacus|}}}|Has spartacus|spartacus-icon.png|Spartacus}}<!--
 
-->{{External icons/Xicon|{{{spartacus|}}}|Has spartacus|spartacus-icon.png|Spartacus}}<!--

Revision as of 17:30, 29 March 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
|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)
|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)
|youtube = URL of the youtube page (Property:Has youtube)
|WS_username = Pagename of the WS userpage (Property:Has WSuserpage)
}}