Difference between revisions of "Template:Infobox person module documentation"

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(ce)
m (17 revisions)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
This infobox may be used to create a genre-specific section within {{tl|Infobox person}}, for cases where a person may be notable in more than one field; see [[Wikipedia:Infobox modules]] for guidance on usage.
+
This infobox may be used to create a genre-specific section within {{tl|Infobox person}} (or similar [[:Category:People and person infobox templates|biographical infobox templates]]) for cases where a person may be notable in more than one field; a generic example is shown below. For guidance on usage, see [[Wikipedia:Infobox modules]]. Also see the [[Template:Infobox]] documentation which explains [[Template:Infobox/doc#Embedding|embedding]] and [[Template:Infobox/doc#Subboxes|subboxes]].
  
To do so, call the template as follows:
+
<nowiki>{{</nowiki>Infobox person
 +
| name =
 +
| image =
 +
| caption =
 +
| birth_date =
 +
| birth_place =
 +
| <nowiki><!--</nowiki> ''[[et cetera|etc.]]'' <nowiki>--></nowiki>
 +
| module =
 +
  <nowiki>{{</nowiki>{{{1|{{{template|EMBEDDED TEMPLATE NAME}}}}}} | {{#if:{{{parameter|}}} | {{{parameter}}}=yes | child=yes <nowiki><!--</nowiki> ''or'' embed=yes ''or'' subbox=yes <nowiki>--></nowiki>}}
 +
  | {{{2|{{{example_parameter1|parameter-1}}}}}} =
 +
  | {{{3|{{{example_parameter2|parameter-2}}}}}} =
 +
  | {{{4|{{{example_parameter3|parameter-3}}}}}} =
 +
  | {{{5|{{{example_parameter4|parameter-4}}}}}} =
 +
  | <nowiki><!--</nowiki> ''etc.'' <nowiki>--></nowiki>
 +
  }}
 +
}}<noinclude>
  
{{Infobox person<br/>
 
| name        = <br/>
 
| image      = <br/>
 
| caption    = <br/>
 
| birth_name  = <br/>
 
| birth_date  = <br/>
 
| birth_place = <br/>
 
| module      = <br/>
 
  <nowiki>{{</nowiki>{{{1|EMBEDDED TEMPLATE NAME}}}|child=yes<br/>
 
  | {{{2|parameter-1}}} = <br/>
 
  | {{{3|parameter-2}}} = <br/>
 
  | {{{4|parameter-3}}} = <br/>
 
  | {{{5|parameter-4}}} = <br/>
 
  }}<br/>
 
}}<noinclude>
 
 
[[Category:Template namespace templates]]
 
[[Category:Template namespace templates]]
 
[[Category:Template documentation]]
 
[[Category:Template documentation]]
 
[[Category:Documentation see also templates]]
 
[[Category:Documentation see also templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 10:23, 23 July 2016

This infobox may be used to create a genre-specific section within {{Infobox person}} (or similar biographical infobox templates) for cases where a person may be notable in more than one field; a generic example is shown below. For guidance on usage, see Wikipedia:Infobox modules. Also see the Template:Infobox documentation which explains embedding and subboxes.

{{Infobox person
| name = 
| image = 
| caption = 
| birth_date = 
| birth_place = 
| <!-- etc. -->
| module = 
  {{EMBEDDED TEMPLATE NAME | child=yes <!-- or embed=yes or subbox=yes -->
  | parameter-1 = 
  | parameter-2 = 
  | parameter-3 = 
  | parameter-4 = 
  | <!-- etc. -->
  }}
}}