Infobox pet: Difference between revisions
From The Canon of Nora Wiki
Replaced content with "<noinclude> {{#cargo_declare: _table=Pets |Name=String |Species=String }} </noinclude>" Tags: Replaced Reverted |
No edit summary Tag: Manual revert |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude>{{#cargo_declare: | ||
{{#cargo_declare: | |||
_table=Pets | _table=Pets | ||
|Name=String | |Name=String | ||
|Species=String | |Species=String | ||
|Breed=String | |||
|Sex=String | |||
|Color=String | |||
|Owner=Page | |||
|FirstAppearance=Page | |||
|LastAppearance=Page | |||
|Series=Page | |||
|Status=String | |||
|Role=String | |||
|Importance=String | |||
}} | }} | ||
</noinclude> | |||
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> | |||
{{#cargo_store: | |||
_table=Pets | |||
|Name={{{name|{{PAGENAME}}}}} | |||
|Species={{{species|}}} | |||
|Breed={{{breed|}}} | |||
|Sex={{{sex|}}} | |||
|Color={{{color|}}} | |||
|Owner={{{owner|}}} | |||
|FirstAppearance={{{first_appearance|}}} | |||
|LastAppearance={{{last_appearance|}}} | |||
|Series={{{series|}}} | |||
|Status={{{status|Alive}}} | |||
|Role={{{role|Companion}}} | |||
|Importance={{{importance|Supporting}}} | |||
}} | |||
{| class="infobox" | |||
|- | |||
! colspan="2" style="text-align:center;font-size:120%;" | {{{name|{{PAGENAME}}}}} | |||
|- | |||
| 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=
}}