Template:Infobox person module documentation: Difference between revisions

From AusMetal Guide
Jump to navigation Jump to search
m (1 revision imported)
(fix noinclude)
Line 1: Line 1:
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]].
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]].
 
<syntaxhighlight lang="wikitext">
<nowiki>{{</nowiki>Infobox person
{{Infobox person
| name =  
| name =  
| image =  
| image =  
| caption =  
| caption =  
| birth_date =  
| birth_date =  
| birth_place =  
| birth_place =  
| <nowiki><!--</nowiki> ''[[et cetera|etc.]]'' <nowiki>--></nowiki>
| <!-- etc. -->
| module =  
| module =  
  <nowiki>{{</nowiki>{{{1|{{{template|<includeonly>{{BASEPAGENAME}}</includeonly><noinclude>EMBEDDED TEMPLATE NAME</noinclude>}}}}}} | {{#if:{{{parameter|}}} | {{{parameter}}}=yes | child=yes <nowiki><!--</nowiki> ''or'' embed=yes ''or'' subbox=yes <nowiki>--></nowiki>}}
  {{EMBEDDED TEMPLATE NAME | child=yes <!-- or embed=yes or subbox=yes -->
  | {{{2|{{{example_parameter1|parameter-1}}}}}} =  
  | parameter-1 =  
  | {{{3|{{{example_parameter2|parameter-2}}}}}} =  
  | parameter-2 =  
  | {{{4|{{{example_parameter3|parameter-3}}}}}} =  
  | parameter-3 =  
  | {{{5|{{{example_parameter4|parameter-4}}}}}} =  
  | parameter-4 =  
  | <nowiki><!--</nowiki> ''etc.'' <nowiki>--></nowiki>
  | <!-- etc. -->
  }}
  }}
}}<noinclude>
}}
 
</syntaxhighlight><noinclude>
[[Category:Template namespace templates]]
[[Category:Template namespace templates]]
[[Category:Documentation shared content templates]]
[[Category:Documentation shared content templates]]
</noinclude>
</noinclude>

Revision as of 12:43, 18 February 2025

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. <syntaxhighlight lang="wikitext">

Infobox person module documentation
Template:EMBEDDED TEMPLATE NAME

</syntaxhighlight>