Actions

Template

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=String
|Owner=Page
|FirstAppearance=String
|FirstAppearance=Page
|LastAppearance=String
|LastAppearance=Page
|Series=String
|Series=Page
|Status=String
|Status=String
|Role=String
|Role=String
|Importance=String
|Importance=String
|Image=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}}}
|Image={{{image|}}}
}}
}}


{| class="infobox" style="width: 300px; font-size: 90%; float: right; clear: right; margin: 0 0 2em 4em;"
{| class="infobox"
|-
|-
! colspan="2" style="text-align:center; font-size: 150%;" | {{{name|{{PAGENAME}}}}}
! colspan="2" style="text-align:center;font-size:120%;" | {{{name|{{PAGENAME}}}}}
|-
|-
| colspan="2" style="text-align:center;" | {{#if:{{{image|}}}|[[File:{{{image}}}|200px]]|''No image available''}}
| colspan="2" style="text-align:center;" |
{{{image|[[File:Placeholder Pet.png|250px]]}}}
|-
|-
! colspan="2" style="background:#cccccc;" | Pet
! Species
| {{{species|}}}
|-
|-
| '''Species''' || {{{species|}}}
! Breed
| {{{breed|}}}
|-
|-
| '''Breed''' || {{{breed|}}}
! Sex
| {{{sex|Unknown}}}
|-
|-
| '''Sex''' || {{{sex|Unknown}}}
! Color
| {{{color|}}}
|-
|-
| '''Color''' || {{{color|}}}
! Owner
| {{{owner|}}}
|-
|-
| '''Owner''' || {{{owner|}}}
! First Appearance
| {{{first_appearance|}}}
|-
|-
! colspan="2" style="background:#cccccc;" | Canon
! Last Appearance
| {{{last_appearance|}}}
|-
|-
| '''First appearance''' || {{{first_appearance|}}}
! Series
| {{{series|}}}
|-
|-
| '''Last appearance''' || {{{last_appearance|}}}
! Status
| {{{status|Alive}}}
|-
|-
| '''Series''' || {{{series|}}}
! Role
| {{{role|Companion}}}
|-
|-
| '''Status''' || {{{status|Alive}}}
! Importance
|-
| {{{importance|Supporting}}}
| '''Role''' || {{{role|Companion}}}
|-
| '''Importance''' || {{{importance|Supporting}}}
|}
|}
[[Category:Pets]]{{#if:{{{species|}}}|[[Category:{{{species}}}s]]}}{{#if:{{{series|}}}|[[Category:{{{series}}}]]}}</includeonly><noinclude>
== Usage ==
<pre>
{{Infobox pet
|name=
|image=
|species=
|breed=
|sex=
|color=
|owner=
|first_appearance=
|last_appearance=
|series=
|status=
|role=
|importance=
}}
</pre>


</noinclude>
</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=
}}