Jump to content

Template:ChanInfobox: Difference between revisions

From Joepedia
No edit summary
No edit summary
Line 6: Line 6:
| name = {{{name|{{PAGENAME}}}}}
| name = {{{name|{{PAGENAME}}}}}
| image = {{{image|}}}
| image = {{{image|}}}
| caption1 = {{{caption|}}}
| caption1 = {{Attribution|{{{artist|}}}}}
| label1 = Based On
| label1 = Also Known As
| data1 = {{{based_on|}}}
| data1 = {{{aka|}}}
| label2 = Based On
| data2 = {{{based_on|}}}


| header2 = Attribution
| header3 = Attribution
| label3 = Character Design
| label4 = Character Design
| data3 = <includeonly>{{Attribution|{{{character_designer|}}}|categorise=true}}</includeonly>
| data4 = <includeonly>{{Attribution|{{{character_designer|}}}|categorise=true}}</includeonly>
| label4 = First Artist
| data4 = {{Attribution|{{{first_artist|}}}}}


| header5 = Related Works
| header6 = Related Works
| data6 = <includeonly>{{#ifexist: :Category:Features {{{name|{{PAGENAME}}}}} | [[:Category:Features {{{name|{{PAGENAME}}}}}|Featured In]],}} {{#ifexist: :Category:Based on {{{name|{{PAGENAME}}}}} | [[:Category:Based on {{{name|{{PAGENAME}}}}}|Derivatives]]}}</includeonly>
| data7 = <includeonly>{{#ifexist: :Category:Features {{{name|{{PAGENAME}}}}} | [[:Category:Features {{{name|{{PAGENAME}}}}}|Featured In]],}} {{#ifexist: :Category:Based on {{{name|{{PAGENAME}}}}} | [[:Category:Based on {{{name|{{PAGENAME}}}}}|Derivatives]]}}</includeonly>
}}
}}<includeonly>[[Category:Chans]]</includeonly><noinclude>
<includeonly>[[Category:Chans]]</includeonly>
<templatedata>
{
"params": {
"name": {
"label": "Name",
"description": "The primary name of the chan, should end in -chan if that is the normal way they are referred to.",
"type": "string",
"required": true
},
"image": {
"label": "Image",
"description": "An example image of the chan.",
"type": "wiki-file-name",
"required": true
},
"aka": {
"label": "Also Known As",
"description": "A list of any alternative names the chan is called by.",
"type": "string"
},
"based_on": {
"label": "Based On",
"description": "A description of what the chan is based on, this shouldn't be a long explanation, but rather (a) link(s) to relevant pages.",
"example": "[[Jam Bread]] from [[Persona 5]]",
"type": "unbalanced-wikitext",
"suggested": true
},
"character_designer": {
"label": "Character Designer",
"description": "Who to credit with the character design for this chan.",
"type": "wiki-page-name",
"suggested": true
},
"artist": {
"label": "Artist",
"description": "The artist the image used was drawn by, for crediting purposes.",
"type": "wiki-page-name",
"required": true
}
},
"description": "An info box for pages about Chans, there should be one on every chan page.",
"paramOrder": [
"name",
"image",
"artist",
"aka",
"based_on",
"character_designer"
]
}
</templatedata>
</noinclude>

Revision as of 20:03, 22 January 2025

ChanInfobox
Attribution
Related Works

An info box for pages about Chans, there should be one on every chan page.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Namename

The primary name of the chan, should end in -chan if that is the normal way they are referred to.

Stringrequired
Imageimage

An example image of the chan.

Filerequired
Artistartist

The artist the image used was drawn by, for crediting purposes.

Page namerequired
Also Known Asaka

A list of any alternative names the chan is called by.

Stringoptional
Based Onbased_on

A description of what the chan is based on, this shouldn't be a long explanation, but rather (a) link(s) to relevant pages.

Example
[[Jam Bread]] from [[Persona 5]]
Unbalanced wikitextsuggested
Character Designercharacter_designer

Who to credit with the character design for this chan.

Page namesuggested