Template:Census: Difference between revisions
Jump to navigation
Jump to search
Apple Bottom (talk | contribs) mNo edit summary |
|||
| (10 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
<table class="infobox"> | <table class="infobox"> | ||
<tr><td colspan="2" class="infobox_head"> {{{name|Census Name}}} </td></tr> | <tr><td colspan="2" class="infobox_head"> {{{name|Census Name}}} </td></tr>{{#if: {{{image|}}} | | ||
<tr> | <tr> | ||
<th> Conducted by </th> | <td colspan="2" class="infobox_img"><table class="img_border" cellpadding="0"><tr><td> | ||
[[File:{{{image|UnknownPattern}}}.png|{{{imgwidth|250px}}}]]</td></tr></table></td></tr> | |||
<tr> | |||
<td colspan="2" style="height:3px;"></td></tr> | |||
<tr> | |||
<td colspan="2" style="background-color:#A7A8C1;height:2px;"></td></tr> | |||
}}<tr> | |||
<th> Conducted by </th> | |||
<td> {{#if: {{{conductor|}}} | [[{{{conductor}}}]] | Unknown }} </td></tr> | <td> {{#if: {{{conductor|}}} | [[{{{conductor}}}]] | Unknown }} </td></tr> | ||
<tr> | <tr> | ||
<th> Type </th> | <th> Type </th> | ||
<td> {{{type|Unknown}}} </td></tr> | <td> {{{type|Unknown}}} </td></tr> | ||
<tr> | {{#if: {{{contributors|}}} | <tr> | ||
<th> Contributors</th> | |||
<td> {{{contributors|Unknown}}} </td></tr> }} <tr> | |||
<th> Year(s) </th> | <th> Year(s) </th> | ||
<td> {{#if: {{{year|}}} | {{{year}}} {{#if: {{{year2|}}} | | <td> {{#if: {{{year|}}} | {{{year}}} {{#if: {{{year2|}}} | – {{{year2}}} | }} | Unknown }} </td></tr> | ||
<tr> | <tr> | ||
<th> Status </th> | <th> Status </th> | ||
| Line 23: | Line 32: | ||
<td> {{{universe|Unknown}}} </td></tr> | <td> {{{universe|Unknown}}} </td></tr> | ||
<tr> | <tr> | ||
<th> Soup size </th> | <th> Soup size </th> | ||
<td> {{#if: {{{bx|}}} | {{{bx}}}×{{{by}}} | Unknown }} </td></tr> | <td> {{#if: {{{bx|}}} | {{{bx}}}×{{{by}}} | Unknown }} </td></tr> | ||
<tr> | <tr> | ||
<th> Initial soup density </th> | <th> Initial soup density </th> | ||
<td> {{{density|Unknown}}} </td></tr> | <td> {{{density|Unknown}}} </td></tr> | ||
<tr> | <tr> | ||
| Line 38: | Line 47: | ||
<td colspan="2" class="infobox_subhead">Results</td></tr> | <td colspan="2" class="infobox_subhead">Results</td></tr> | ||
<tr> | <tr> | ||
<th> Total objects </th> | <th> Total objects </th> | ||
<td> {{{totalobjects|Unknown}}} </td></tr> | <td> {{{totalobjects|Unknown}}} </td></tr> | ||
<tr> | <tr> | ||
<th> Distinct objects </th> | <th> Distinct objects </th> | ||
<td> {{{distinctobjects|Unknown}}} </td></tr> | <td> {{{distinctobjects|Unknown}}} </td></tr> | ||
</table> | </table> | ||
| Line 50: | Line 59: | ||
The following parameters can be specified: | The following parameters can be specified: | ||
*'''name''': the name of the census. | *'''name''': the name of the census. | ||
*'''image''': (optional) the name of the infobox image to use. Default: no image. | |||
*'''imgwidth''': (optional) the width to use for the infobox image. Default: 250px. | |||
*'''conductor''': the name of the [[Life enthusiast]] conducting the census. | *'''conductor''': the name of the [[Life enthusiast]] conducting the census. | ||
*'''type''': the type of the census, e.g. "single-user" or "distributed". | *'''type''': the type of the census, e.g. "single-user" or "distributed". | ||
*'''contributors''': the number of contributors to the census; should only be specified for type=distributed. | |||
*'''year''', '''year2''': the year(s) the census was run; omit year2 if it did not span multiple years. | *'''year''', '''year2''': the year(s) the census was run; omit year2 if it did not span multiple years. | ||
*'''status''': the current status of the census, e.g. "inactive" or "ongoing". | *'''status''': the current status of the census, e.g. "inactive" or "ongoing". | ||
| Line 61: | Line 73: | ||
*'''distinctobjects''': the number of distinct objects censused. | *'''distinctobjects''': the number of distinct objects censused. | ||
</noinclude> | [[Category:Infobox templates]]</noinclude> | ||
<includeonly> | <includeonly> | ||
[[Category:Censuses]]</includeonly> | [[Category:Everything else]][[Category:Censuses]]</includeonly> | ||
Latest revision as of 11:07, 27 February 2020
| Census Name | |
| Conducted by | Unknown |
|---|---|
| Type | Unknown |
| Year(s) | Unknown |
| Status | Unknown |
| Parameters | |
| Universe | Unknown |
| Soup size | Unknown |
| Initial soup density | Unknown |
| Soups searched | Unknown |
| Results | |
| Total objects | Unknown |
| Distinct objects | Unknown |
This is an infobox template for censuses. An example can be seen to the right. To see a live example of this template in action, see Achim Flammenkamp's census.
Special parameters
The following parameters can be specified:
- name: the name of the census.
- image: (optional) the name of the infobox image to use. Default: no image.
- imgwidth: (optional) the width to use for the infobox image. Default: 250px.
- conductor: the name of the Life enthusiast conducting the census.
- type: the type of the census, e.g. "single-user" or "distributed".
- contributors: the number of contributors to the census; should only be specified for type=distributed.
- year, year2: the year(s) the census was run; omit year2 if it did not span multiple years.
- status: the current status of the census, e.g. "inactive" or "ongoing".
- universe: the shape/size universe used for the census, e.g. "infinite plane" or "2048×2048 torus".
- bx, by: the bounding box of the soups.
- density: the initial density of the soups.
- numsoups: the total number of soups investigated.
- totalobjects: the total number of objects censused.
- distinctobjects: the number of distinct objects censused.