Difference between revisions of "Template:Sources/doc"

From WikiCorporates
Jump to navigation Jump to search
(Created page with "__NOTOC__ << Template:Sources Small template to generate a single line of reference links, eg. under a list. === Example === <pre> {{Sources|{{Src|ref|date=Aug.01.2010|...")
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
−
<< [[Template:Sources]]
+
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".
  
−
Small template to generate a single line of reference links, eg. under a list.
+
=== Examples ===
−
 
 
−
=== Example ===
 
 
<pre>
 
<pre>
 
{{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|{{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/}} }}
 
</pre>
 
</pre>
  
 
Will give:
 
Will give:
 
{{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|{{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/}} }}
−
<includeonly>[[Category:WikiPolitiks templates]]</includeonly>
+
 
 +
{{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/}} }}
 +
 
 +
Note: <tt>&# 9830;</tt> makes a decent separator: &#9830;
 +
 
 +
<includeonly>[[Category:WikiCorporates templates]]</includeonly>

Latest revision as of 08:26, 31 May 2020

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: ♦