Difference between revisions of "Template:Sources/doc"

From WikiCorporates
Jump to navigation Jump to search
m
m
Line 2: Line 2:
 
<< [[Template:Sources]]
 
<< [[Template:Sources]]
  
−
Small template to generate a single line of reference links, eg. under a list or Timeline
+
Small template to generate a single line of reference links, eg. under a list or Timeline.
  
−
=== Example ===
+
It has one optional parameter, "add", which puts the word "Additional" before "Sources".
 +
 
 +
=== Examples ===
 
<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|{{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/}} }}
 +
 +
{{Sources|add|{{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>
 
<includeonly>[[Category:WikiPolitiks templates]]</includeonly>

Revision as of 17:56, 12 December 2018

<< 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".

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|{{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.
Sources: add