Difference between revisions of "Template:AgentList"

From Wikispooks
Jump to navigation Jump to search
(Trim whitespace)
(Trim whitespace)
Line 2: Line 2:
 
Agents must have a '''Name''', but '''Detail''' is optional.<br/>
 
Agents must have a '''Name''', but '''Detail''' is optional.<br/>
 
<br/>
 
<br/>
<nowiki>{{AgentList|Predicate|Name1|Detail1|Name2|Detail2|...}}</nowiki>
+
:<nowiki>{{AgentList|Predicate|Name1|Detail1|Name2|Detail2|...}}</nowiki>
</noinclude><includeonly>:{{List|{{Agent|{{{1}}}|{{{2|}}}|{{{3|}}}}}|{{Agent|{{{1}}}|{{{4|}}}|{{{5|}}}}}|{{Agent|{{{1}}}|{{{6|}}}|{{{7|}}}}}|{{Agent|{{{1}}}|{{{8|}}}|{{{9|}}}}}|{{Agent|{{{1}}}|{{{10|}}}|{{{11|}}}}}|{{Agent|{{{1}}}|{{{12|}}}|{{{13|}}}}}|{{Agent|{{{1}}}|{{{14|}}}|{{{15|}}}}}|{{Agent|{{{1}}}|{{{16|}}}|{{{17|}}}}}|{{Agent|{{{1}}}|{{{18|}}}|{{{19|}}}}}|{{Agent|{{1}}}|{{{20|}}}|{{{21|}}}}}}}</includeonly>
+
</noinclude><includeonly>{{List|{{Agent|{{{1}}}|{{{2|}}}|{{{3|}}}}}|{{Agent|{{{1}}}|{{{4|}}}|{{{5|}}}}}|{{Agent|{{{1}}}|{{{6|}}}|{{{7|}}}}}|{{Agent|{{{1}}}|{{{8|}}}|{{{9|}}}}}|{{Agent|{{{1}}}|{{{10|}}}|{{{11|}}}}}|{{Agent|{{{1}}}|{{{12|}}}|{{{13|}}}}}|{{Agent|{{{1}}}|{{{14|}}}|{{{15|}}}}}|{{Agent|{{{1}}}|{{{16|}}}|{{{17|}}}}}|{{Agent|{{{1}}}|{{{18|}}}|{{{19|}}}}}|{{Agent|{{1}}}|{{{20|}}}|{{{21|}}}}}}}</includeonly>

Revision as of 02:49, 2 December 2013

A sub-template of template:DocProv used to display a list of up to 10 Template:Agent items which share a common Predicate.
Agents must have a Name, but Detail is optional.

{{AgentList|Predicate|Name1|Detail1|Name2|Detail2|...}}