Difference between revisions of "Template:Sources"

From WikiCorporates
Jump to navigation Jump to search
(Created page with "<div><small><b>Sources:</b>{{{1}}}</small></div><noinclude>{{doc2}}</noinclude>")
 
m
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
<div><small><b>Sources:</b>{{{1}}}</small></div><noinclude>{{doc2}}</noinclude>
+
<div style="line-height:1.2em;"><small><b>{{#if:{{{add|}}}|Additional&nbsp;}}Sources: </b>{{{1}}}</small></div><noinclude>{{doc2}}</noinclude>

Latest revision as of 15:00, 14 April 2019

Sources: {{{1}}}

[edit] Documentation


Small template to generate a single line of reference links, eg. under a list or Timeline.

It has one optional parameter, "add", which puts the word "Additional" before "Sources".

Examples

{{Sources|{{Src|ref|date=Aug.01.2010|title=Tropicana Products, Inc. History.|website=Funding Universe|url=http://www.fundinguniverse.com/company-histories/tropicana-products-inc-history/}} }}

{{Sources|add=1|{{Src|ref|date=Aug.01.2010|title=Tropicana Products, Inc. History.|website=Funding Universe|url=http://www.fundinguniverse.com/company-histories/tropicana-products-inc-history/}} }}

Will give:

Sources: Tropicana Products, Inc. History. Funding Universe, Aug.01.2010.
Additional Sources: Tropicana Products, Inc. History. Funding Universe, Aug.01.2010.

Note: &# 9830; makes a decent separator: ♦