Infobox pet: Difference between revisions
From The Canon of Nora Wiki
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude>{{#cargo_declare: | ||
{{#cargo_declare: | |||
_table=Pets | _table=Pets | ||
|Name=String | |Name=String | ||
| Line 7: | Line 6: | ||
|Sex=String | |Sex=String | ||
|Color=String | |Color=String | ||
|Owner= | |Owner=Page | ||
|FirstAppearance= | |FirstAppearance=Page | ||
|LastAppearance= | |LastAppearance=Page | ||
|Series= | |Series=Page | ||
|Status=String | |Status=String | ||
|Role=String | |Role=String | ||
|Importance=String | |Importance=String | ||
}} | }} | ||
This template creates the infobox and stores pet data in the Cargo '''Pets''' table. | |||
== Usage == | |||
<pre> | |||
{{Infobox pet | |||
|name= | |||
|image= | |||
|species= | |||
|breed= | |||
|sex= | |||
|color= | |||
|owner= | |||
|first_appearance= | |||
|last_appearance= | |||
|series= | |||
|status= | |||
|role= | |||
|importance= | |||
}} | |||
</pre> | |||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{#cargo_store: | {{#cargo_store: | ||
_table=Pets | _table=Pets | ||
| Line 31: | Line 52: | ||
|Role={{{role|Companion}}} | |Role={{{role|Companion}}} | ||
|Importance={{{importance|Supporting}}} | |Importance={{{importance|Supporting}}} | ||
}} | }} | ||
{| class="infobox | {| class="infobox" | ||
|- | |- | ||
! colspan="2" style="text-align:center; font-size: | ! colspan="2" style="text-align:center;font-size:120%;" | {{{name|{{PAGENAME}}}}} | ||
|- | |- | ||
| colspan="2" style="text-align:center;" | | | colspan="2" style="text-align:center;" | | ||
{{{image|[[File:Placeholder Pet.png|250px]]}}} | |||
|- | |- | ||
! | ! Species | ||
| {{{species|}}} | |||
|- | |- | ||
! Breed | |||
| {{{breed|}}} | |||
|- | |- | ||
! Sex | |||
| {{{sex|Unknown}}} | |||
|- | |- | ||
! Color | |||
| {{{color|}}} | |||
|- | |- | ||
! Owner | |||
| {{{owner|}}} | |||
|- | |- | ||
! First Appearance | |||
| {{{first_appearance|}}} | |||
|- | |- | ||
! | ! Last Appearance | ||
| {{{last_appearance|}}} | |||
|- | |- | ||
! Series | |||
| {{{series|}}} | |||
|- | |- | ||
! Status | |||
| {{{status|Alive}}} | |||
|- | |- | ||
! Role | |||
| {{{role|Companion}}} | |||
|- | |- | ||
! Importance | |||
| {{{importance|Supporting}}} | |||
|} | |} | ||
</ | </includeonly> | ||
Latest revision as of 23:08, 25 June 2026
This template defines the table "Pets". View table.
This template creates the infobox and stores pet data in the Cargo Pets table.
Usage
{{Infobox pet
|name=
|image=
|species=
|breed=
|sex=
|color=
|owner=
|first_appearance=
|last_appearance=
|series=
|status=
|role=
|importance=
}}