Template:Contributor: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#template_params:native_name (label=Native Name)|birthplace (label=Birthplace)|birthdate (label=Birthdate)|deathdate (label=Deathdate)|startdate (label=Start Date)|enddate (label=End Date)|type (label=Type)}} | {{#template_params:image (label=Image)|native_name (label=Native Name)|birthplace (label=Birthplace)|birthdate (label=Birthdate)|deathdate (label=Deathdate)|startdate (label=Start Date)|enddate (label=End Date)|type (label=Type)}} | ||
{{#cargo_declare:_table=contributors|native_name=String|birthplace=String|birthdate=Date|deathdate=Date|startdate=Start date|enddate=End date|type=String (allowed values=Person,Group)}} | {{#cargo_declare:_table=contributors|image=File|native_name=String|birthplace=String|birthdate=Date|deathdate=Date|startdate=Start date|enddate=End date|type=String (allowed values=Person,Group)}} | ||
</noinclude><includeonly>{{#cargo_store:_table=contributors}}<table class="infobox-table citizen-table-nowrap floatright"> | </noinclude><includeonly>{{#cargo_store:_table=contributors}}<table class="infobox-table citizen-table-nowrap floatright"> | ||
<tr id="infobox-table-img-bg"> | <tr id="infobox-table-img-bg"> | ||
<td width="100%" colspan="3" class="infobox-table-img">{{#if:{{{ | <td width="100%" colspan="3" class="infobox-table-img">{{#if:{{{image|}}}|[[{{{image}}}|400px]]|[[File:Portrait_Placeholder.png|400px]]}}</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
| Line 37: | Line 37: | ||
<td width="60%">{{{enddate}}}</td> | <td width="60%">{{{enddate}}}</td> | ||
</tr>}} | </tr>}} | ||
</table>[[Category:Contributors]]<templatestyles src="Template:Game/styles.css" /></includeonly> | </table>{{{Members|}}} [[Category:Contributors]] {{DISPLAYTITLE:{{{name}}}}}<templatestyles src="Template:Game/styles.css" /></includeonly> | ||
Latest revision as of 06:00, 2 November 2025
This is the "Contributor" template.
It should be called in the following format:
{{Contributor
|image=
|native_name=
|birthplace=
|birthdate=
|deathdate=
|startdate=
|enddate=
|type=
}}
Edit the page to see the template text.
This template defines the table "contributors". View table.