1,087
edits
m (→Example usage: filled out example fields for the display here to show fully) |
Tag: Undo |
||
(25 intermediate revisions by 3 users not shown) | |||
Line 14: | Line 14: | ||
<data source="name"> | <data source="name"> | ||
<label>Name</label> | <label>Name</label> | ||
< | </data> | ||
<data source="othernames"> | |||
<label>Other names</label> | |||
</data> | </data> | ||
<data source="date_of_birth"> | <data source="date_of_birth"> | ||
<label>Date of birth</label> | <label>Date of birth</label> | ||
</data> | </data> | ||
<data source="birthplace"> | <data source="birthplace"> | ||
<label>Birthplace</label> | <label>Birthplace</label> | ||
</data> | </data> | ||
</group> | </group> | ||
{{#if:{{{twitter|}}}{{{instagram |}}} | |||
<group> | <group> | ||
<header> | <header>Social media</header> | ||
{{#if:{{{twitter|}}} | |||
<data> | |||
<default>{{TwitterProfile | |||
|# = {{{twitter}}}}}</default> | |||
</data> | |||
}} | |||
{{#if:{{{instagram|}}} | |||
<data> | <data> | ||
< | <default>{{InstagramProfile | ||
|# = {{{instagram}}}}}</default> | |||
</data> | </data> | ||
}} | |||
</group> | </group> | ||
}} | |||
</infobox> | </infobox> | ||
<noinclude> | |||
[[Category:Templates]] | |||
[[Category:Infobox templates]] | |||
== Example usage == | == Example usage == | ||
<pre> | <pre> | ||
Line 51: | Line 62: | ||
| date_of_birth=date of birth (age) | | date_of_birth=date of birth (age) | ||
| birthplace=birthplace | | birthplace=birthplace | ||
| twitter=twitter handle | | twitter=twitter handle (no @ sign) | ||
| instagram=instagram handle | |||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> |
edits