Template:PersonInfobox: Difference between revisions
Jump to navigation
Jump to search
m (→Example usage: filled out example fields for the display here to show fully) |
m (Updated default values so the infobox displays as would on a page) |
||
Line 1: | Line 1: | ||
<infobox layout="stacked"> | <infobox layout="stacked"> | ||
<title source="title"/> | <title source="title"> | ||
<default>Page title</default> | |||
</title> | |||
<image source="image"> | <image source="image"> | ||
Line 9: | Line 11: | ||
<data source="name"> | <data source="name"> | ||
<label>Name</label> | <label>Name</label> | ||
<default>Person name</default> | |||
</data> | </data> | ||
<data source="date_of_birth"> | <data source="date_of_birth"> | ||
<label>Date of birth</label> | <label>Date of birth</label> | ||
<default>Date of birth</default> | |||
</data> | </data> | ||
<data source="birthplace"> | <data source="birthplace"> | ||
<label>Birthplace</label> | <label>Birthplace</label> | ||
<default>Birthplace</default> | |||
</data> | </data> | ||
<data> | <data> | ||
<label>Twitter</label> | |||
<default>[https://twitter.com/{{{twitter}}} Twitter profile]</default> | <default>[https://twitter.com/{{{twitter}}} Twitter profile]</default> | ||
</data> | </data> | ||
Line 29: | Line 35: | ||
<pre> | <pre> | ||
{{PersonInfobox | {{PersonInfobox | ||
| title= | | title=page title | ||
| image=image | | image=image | ||
| caption=image caption | | caption=image caption | ||
Line 35: | Line 41: | ||
| date_of_birth=date of birth | | date_of_birth=date of birth | ||
| birthplace=birthplace | | birthplace=birthplace | ||
| twitter=twitter | | twitter=twitter handle | ||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> |
Revision as of 18:27, 19 July 2022
Example usage
{{PersonInfobox | title=page title | image=image | caption=image caption | name=person name | date_of_birth=date of birth | birthplace=birthplace | twitter=twitter handle }}