Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Contributor: Difference between revisions

Template page
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:native_name (label=Native Name)}}
{{#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}}
{{#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:{{{artwork|}}}|[[{{{artwork}}}|400px]]|[[File:Placeholderv2.png|400px]]}}</td>
<td width="100%" colspan="3" class="infobox-table-img">{{#if:{{{image|}}}|[[{{{image}}}|400px]]|[[File:Portrait_Placeholder.png|400px]]}}</td>
</tr>
</tr>
<tr>
<tr>
<th width="100%" colspan="3" class="infobox-table-name"><b>{{PAGENAME}}</b></th>
<th width="100%" colspan="3" class="infobox-table-name"><b>{{PAGENAME}}</b></th>
</tr>
</tr>
{{#if:{{{type|}}}|<tr>
<td width="40%" valign="top" colspan="2"><noinclude></noinclude>Type<noinclude></noinclude></td>
<td width="60%">{{{type}}}</td>
</tr>}}
{{#if:{{{native_name|}}}|<tr>
{{#if:{{{native_name|}}}|<tr>
<td width="40%" valign="top" colspan="2"><noinclude></noinclude>Native name<noinclude></noinclude></td>
<td width="40%" valign="top" colspan="2"><noinclude></noinclude>Native name<noinclude></noinclude></td>
<td width="60%">{{{native_name}}}</td>
<td width="60%">{{{native_name}}}</td>
</tr>}}</table>[[Category:Contributors]]<templatestyles src="Template:Game/styles.css" /></includeonly>
</tr>}}
{{#if:{{{birthplace|}}}|<tr>
<td width="40%" valign="top" colspan="2"><noinclude></noinclude>Birthplace<noinclude></noinclude></td>
<td width="60%">{{{birthplace}}}</td>
</tr>}}
{{#if:{{{birthdate|}}}|<tr>
<td width="40%" valign="top" colspan="2"><noinclude></noinclude>Birthdate<noinclude></noinclude></td>
<td width="60%">{{{birthdate}}}</td>
</tr>}}
{{#if:{{{deathdate|}}}|<tr>
<td width="40%" valign="top" colspan="2"><noinclude></noinclude>Deathdate<noinclude></noinclude></td>
<td width="60%">{{{deathdate}}}</td>
</tr>}}
{{#if:{{{startdate|}}}|<tr>
<td width="40%" valign="top" colspan="2"><noinclude></noinclude>Start date<noinclude></noinclude></td>
<td width="60%">{{{startdate}}}</td>
</tr>}}
{{#if:{{{enddate|}}}|<tr>
<td width="40%" valign="top" colspan="2"><noinclude></noinclude>End date<noinclude></noinclude></td>
<td width="60%">{{{enddate}}}</td>
</tr>}}
</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.