Jump to content

Template:ChanInfobox: Difference between revisions

From Joepedia
No edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#set:
<includeonly>{{#if:{{{variant|}}}|{{#subobject:{{{variant}}}
|Display Name={{{name|{{PAGENAME}}}}} ({{{variant}}})
  |Chan Name={{{name|{{PAGENAME}}}}}
  |Chan Name={{{name|{{PAGENAME}}}}}
|Chan Variant={{{variant}}}
|Chan Full Name={{{name|{{PAGENAME}}}}} ({{{variant}}})
  |Chan Parent={{{character_designer|}}}
  |Chan Parent={{{character_designer|}}}
  |Chan Image={{{image|}}}
  |Chan Image={{{image|}}}
}}{{Infobox
}}|{{#set:
|Display Name={{{name|{{PAGENAME}}}}}
|Chan Name={{{name|{{PAGENAME}}}}}
|Chan Full Name={{{name|{{PAGENAME}}}}}
|Chan Parent={{{character_designer|}}}
|Chan Image={{{image|}}}
}}}}<div {{#if:{{{variant|}}}|id="{{{variant}}}"}}>{{Infobox
| bodystyle = border-spacing: 2px 5px;
| bodystyle = border-spacing: 2px 5px;
| above = {{{name|{{PAGENAME}}}}}
| above = {{#if:{{{variant|}}}|{{{name|{{PAGENAME}}}}} ({{{variant}}})|{{{name|{{PAGENAME}}}}}}}
| abovestyle = background-color: var(--background-color-backdrop-dark); color: var(--color-inverted);
| abovestyle = background-color: var(--background-color-backdrop-dark); color: var(--color-inverted);
| headerstyle = background-color: var(--background-color-backdrop-dark); color: var(--color-inverted);
| headerstyle = background-color: var(--background-color-backdrop-dark); color: var(--color-inverted);
Line 25: Line 34:
| header6 = Attribution
| header6 = Attribution
| label7 = Character Design
| label7 = Character Design
| data7 = <includeonly>{{Attribution|{{{character_designer|}}}|categorise=true}}</includeonly>
| data7 = {{Attribution|{{{character_designer|}}}|categorise=true}}


| header8 = Related Works
| header8 = Related Works
| data9 = <includeonly>{{hlist|[[:Category:Features {{{name|{{PAGENAME}}}}}|Featured In]]|[[:Category:Based on {{{name|{{PAGENAME}}}}}|Derivatives]]}}</includeonly>
| data9 = {{hlist|[[:Category:Features {{{name|{{PAGENAME}}}}}|Featured In]]|[https://janart.bulder.fi/tags/chan/{{urlencode:{{{name|{{PAGENAME}}}}}|PATH}} Janart]}}
}}<includeonly>[[Category:Chans]]{{#switch: {{#sub:{{{name|{{PAGENAME}}}}}|-5}}|-chan=|[[Category:Implicit Chans]]}}</includeonly><noinclude>
}}</div>[[Category:Chans]]{{#switch: {{#sub:{{{name|{{PAGENAME}}}}}|-5}}|-chan=|[[Category:Implicit Chans]]}}</includeonly><noinclude>
<templatedata>
<templatedata>
{
{
Line 96: Line 105:
"Pass"
"Pass"
]
]
},
"variant": {
"label": "Variant Name",
"description": "A name describing this design of the chan, if there is a more specific name the chan goes by, use that, but otherwise you can differentiate by distinguishing feature or designer's name)",
"type": "string"
}
}
},
},
Line 101: Line 115:
"paramOrder": [
"paramOrder": [
"name",
"name",
"variant",
"image",
"image",
"caption",
"caption",

Latest revision as of 18:29, 1 April 2025

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
Variant Namevariant

A name describing this design of the chan, if there is a more specific name the chan goes by, use that, but otherwise you can differentiate by distinguishing feature or designer's name)

Stringoptional
Imageimage

An example image of the chan.

Filerequired
Captioncaption

A caption for the image, giving a "quote" for the chan or a brief description of traits.

Stringoptional
Artistartist first_artist

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

Page namerequired
Joe: Smash or Pass?smash

If Joe would smash or pass the chan, *must* be sourced if given.

Suggested values
Smash Pass
Stringoptional
Also Known Asaka

A list of any alternative names the chan is called by. (Use a bullet point list, it will be turned into a flatlist).

Contentoptional
Debutdebut

A citation for when the chan was first mentioned on-stream, ideally with a link citation to a video.

Contentsuggested
See Alsosee_also

Strongly related chans to this one, only use this where chans have some fundamental link and often come hand-in-hand.

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