Difference between revisions of "Template:PersonList"

(Fix IDs)
(Bump limit from 3 to 5)
 
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}|{{Person|{{{1}}}}}|}}{{#if:{{{2|}}}|, {{Person|{{{2}}}}}|}}{{#if:{{{3|}}}|, {{Person|{{{3}}}}}|}}{{#if:{{{4|}}}|<span class="mw-collapsible mw-collapsed" data-collapsetext="-" data-expandtext="..." style="overflow:auto;">{{Person|{{{4}}}}}{{#if:{{{5|}}}|, {{Person|{{{5}}}}}|}}{{#if:{{{6|}}}|, {{Person|{{{6}}}}}|}}{{#if:{{{7|}}}|, {{Person|{{{7}}}}}|}}{{#if:{{{8|}}}|, {{Person|{{{8}}}}}|}}{{#if:{{{9|}}}|, {{Person|{{{9}}}}}|}}{{#if:{{{10|}}}|, {{Person|{{{10}}}}}|}}{{#if:{{{11|}}}|, {{Person|{{{11}}}}}|}}{{#if:{{{12|}}}|, {{Person|{{{12}}}}}|}}{{#if:{{{13|}}}|, {{Person|{{{13}}}}}|}}{{#if:{{{14|}}}|, {{Person|{{{14}}}}}|}}{{#if:{{{15|}}}|, {{Person|{{{15}}}}}|}}{{#if:{{{16|}}}|, {{Person|{{{16}}}}}|}}{{#if:{{{17|}}}|, {{Person|{{{17}}}}}|}}{{#if:{{{18|}}}|, {{Person|{{{18}}}}}|}}{{#if:{{{19|}}}|, {{Person|{{{19}}}}}|}}{{#if:{{{20|}}}|, {{Person|{{{20}}}}}|}}{{#if:{{{21|}}}|, {{Person|{{{21}}}}}|}}{{#if:{{{22|}}}|, {{Person|{{{22}}}}}|}}{{#if:{{{23|}}}|, {{Person|{{{23}}}}}|}}{{#if:{{{24|}}}|, {{Person|{{{24}}}}}|}}{{#if:{{{25|}}}|, {{Person|{{{25}}}}}|}}{{#if:{{{26|}}}|, {{Person|{{{26}}}}}|}}{{#if:{{{27|}}}|, {{Person|{{{27}}}}}|}}{{#if:{{{28|}}}|, {{Person|{{{28}}}}}|}}{{#if:{{{29|}}}|, {{Person|{{{29}}}}}|}}{{#if:{{{30|}}}|, {{Person|{{{30}}}}}|}}{{#if:{{{31|}}}|, {{Person|{{{31}}}}}|}}{{#if:{{{32|}}}|, {{Person|{{{32}}}}}|}}{{#if:{{{33|}}}|, {{Person|{{{33}}}}}|}}{{#if:{{{34|}}}|, {{Person|{{{34}}}}}|}}{{#if:{{{35|}}}|, {{Person|{{{35}}}}}|}}{{#if:{{{36|}}}|, {{Person|{{{36}}}}}|}}{{#if:{{{37|}}}|, {{Person|{{{37}}}}}|}}{{#if:{{{38|}}}|, {{Person|{{{38}}}}}|}}{{#if:{{{39|}}}|, {{Person|{{{39}}}}}|}}{{#if:{{{40|}}}|, {{Person|{{{40}}}}}|}}</span>|}}</includeonly><noinclude>
+
<includeonly>{{#if:{{{1|}}}|{{Person|{{{1}}}}}|}}{{#if:{{{2|}}}|, {{Person|{{{2}}}}}|}}{{#if:{{{3|}}}|, {{Person|{{{3}}}}}|}}{{#if:{{{4|}}}|, {{Person|{{{4}}}}}|}}{{#if:{{{5|}}}|, {{Person|{{{5}}}}}|}}{{#if:{{{6|}}}|<span class="mw-collapsible mw-collapsed" data-collapsetext="-" data-expandtext="..." style="overflow:auto;">{{Person|{{{6}}}}}{{#if:{{{7|}}}|, {{Person|{{{7}}}}}|}}{{#if:{{{8|}}}|, {{Person|{{{8}}}}}|}}{{#if:{{{9|}}}|, {{Person|{{{9}}}}}|}}{{#if:{{{10|}}}|, {{Person|{{{10}}}}}|}}{{#if:{{{11|}}}|, {{Person|{{{11}}}}}|}}{{#if:{{{12|}}}|, {{Person|{{{12}}}}}|}}{{#if:{{{13|}}}|, {{Person|{{{13}}}}}|}}{{#if:{{{14|}}}|, {{Person|{{{14}}}}}|}}{{#if:{{{15|}}}|, {{Person|{{{15}}}}}|}}{{#if:{{{16|}}}|, {{Person|{{{16}}}}}|}}{{#if:{{{17|}}}|, {{Person|{{{17}}}}}|}}{{#if:{{{18|}}}|, {{Person|{{{18}}}}}|}}{{#if:{{{19|}}}|, {{Person|{{{19}}}}}|}}{{#if:{{{20|}}}|, {{Person|{{{20}}}}}|}}{{#if:{{{21|}}}|, {{Person|{{{21}}}}}|}}{{#if:{{{22|}}}|, {{Person|{{{22}}}}}|}}{{#if:{{{23|}}}|, {{Person|{{{23}}}}}|}}{{#if:{{{24|}}}|, {{Person|{{{24}}}}}|}}{{#if:{{{25|}}}|, {{Person|{{{25}}}}}|}}{{#if:{{{26|}}}|, {{Person|{{{26}}}}}|}}{{#if:{{{27|}}}|, {{Person|{{{27}}}}}|}}{{#if:{{{28|}}}|, {{Person|{{{28}}}}}|}}{{#if:{{{29|}}}|, {{Person|{{{29}}}}}|}}{{#if:{{{30|}}}|, {{Person|{{{30}}}}}|}}{{#if:{{{31|}}}|, {{Person|{{{31}}}}}|}}{{#if:{{{32|}}}|, {{Person|{{{32}}}}}|}}{{#if:{{{33|}}}|, {{Person|{{{33}}}}}|}}{{#if:{{{34|}}}|, {{Person|{{{34}}}}}|}}{{#if:{{{35|}}}|, {{Person|{{{35}}}}}|}}{{#if:{{{36|}}}|, {{Person|{{{36}}}}}|}}{{#if:{{{37|}}}|, {{Person|{{{37}}}}}|}}{{#if:{{{38|}}}|, {{Person|{{{38}}}}}|}}{{#if:{{{39|}}}|, {{Person|{{{39}}}}}|}}{{#if:{{{40|}}}|, {{Person|{{{40}}}}}|}}</span>|}}</includeonly><noinclude>
 
== Usage ==
 
== Usage ==
Specify a list of people as per the [[Template:Person|person template]]. If the list exceeds three people, only the first three are shown, with an ellipsis to expand the complete list.
+
Specify a list of people as per the [[Template:Person|person template]]. If the list exceeds five people, only the first five are shown, with an ellipsis to expand the complete list.
  
 
== Examples ==
 
== Examples ==
<pre>{{PersonList|Rasband|Rueden|Dietzc|marktsuchida|Jane Doe}}</pre>
+
<pre>{{PersonList|Rasband|Rueden|Dietzc|marktsuchida|Jane Doe|Jack Frost}}</pre>
{{PersonList|Rasband|Rueden|Dietzc|marktsuchida|Jane Doe}}
+
{{PersonList|Rasband|Rueden|Dietzc|marktsuchida|Jane Doe|Jack Frost}}
  
 
<pre>{{PersonList|Pietzsch|Saalfeld|StephanP}}</pre>
 
<pre>{{PersonList|Pietzsch|Saalfeld|StephanP}}</pre>
 
{{PersonList|Pietzsch|Saalfeld|StephanP}}
 
{{PersonList|Pietzsch|Saalfeld|StephanP}}
 
</noinclude>
 
</noinclude>

Latest revision as of 11:33, 24 April 2018

Usage

Specify a list of people as per the person template. If the list exceeds five people, only the first five are shown, with an ellipsis to expand the complete list.

Examples

{{PersonList|Rasband|Rueden|Dietzc|marktsuchida|Jane Doe|Jack Frost}}

Wayne Rasband, Curtis Rueden, Christian Dietz, Mark Tsuchida, Jane DoeJack Frost

{{PersonList|Pietzsch|Saalfeld|StephanP}}

Tobias Pietzsch, Stephan Saalfeld, Stephan Preibisch