Difference between revisions of "Template:AgentList"

From Wikispooks
Jump to navigation Jump to search
(fix)
(Clarify summary)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>A sub-template of [[template:DocProv]] used to display a list of [[Template:Agent]] items withe the same predicate.<br/>
+
<noinclude>A sub-template of [[template:DocProv]] used to display a list of up to 10 [[Template:Agent]] items which share a common '''Predicate'''.<br/>
<nowiki>{{AgentList|Predicate|Name1|Detail1|N2|D2|N3|D3|N4|D4|N5|D5|N6|D6|N7|D7}}</nowiki>
+
Agents must have a '''Name''', but '''Detail''' is optional.<br/>
</noinclude><includeonly>{{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|}}}| &amp;&nbsp;}}</includeonly>
+
<br/>
 +
Usage:<br/>
 +
:{{t|<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>

Latest revision as of 03:45, 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.

Usage:

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