Difference between revisions of "Template:Comic infobox"

From Team Fortress Wiki
Jump to: navigation, search
m (Updated /pl)
(Adding missing FR strings)
 
(3 intermediate revisions by 2 users not shown)
Line 88: Line 88:
 
   | zh-hant = 藝術家
 
   | zh-hant = 藝術家
 
   }}:''' {{!!}} {{{artist}}}
 
   }}:''' {{!!}} {{{artist}}}
 +
{{!}}-}}
 +
|-
 +
{{#if: {{{artists|}}} |
 +
{{!}} '''{{lang
 +
  | en = Artists
 +
  | fr = Artistes
 +
  | pt-br = Artistas
 +
  }}:''' {{!!}} {{{artists}}}
 
{{!}}-}}
 
{{!}}-}}
 
|-
 
|-
Line 107: Line 115:
 
   | zh-hant = 作家
 
   | zh-hant = 作家
 
   }}:''' {{!!}} {{{writer}}}
 
   }}:''' {{!!}} {{{writer}}}
 +
{{!}}-}}
 +
|-
 +
{{#if: {{{writers|}}} |
 +
{{!}} '''{{lang
 +
  | en = Writers
 +
  | fr = Écrivains
 +
  | pt-br = Escritores
 +
  }}:''' {{!!}} {{{writers}}}
 
{{!}}-}}
 
{{!}}-}}
 
|-
 
|-
Line 126: Line 142:
 
   | zh-hant = 調色師
 
   | zh-hant = 調色師
 
   }}:''' {{!!}} {{{colorist}}}
 
   }}:''' {{!!}} {{{colorist}}}
 +
{{!}}-}}
 +
|-
 +
{{#if: {{{colorists|}}} |
 +
{{!}} '''{{lang
 +
  | en = Colorists
 +
  | fr = Coloristes
 +
  | pt-br = Coloristas
 +
  }}:''' {{!!}} {{{colorists}}}
 
{{!}}-}}
 
{{!}}-}}
 
|-
 
|-
 
|}<noinclude>
 
|}<noinclude>
 +
{{doc begin}}
 
{{translation switching|en, cs, de, es, fr, hu, it, ja, ko, pl, pt-br, ru, zh-hans, zh-hant}}
 
{{translation switching|en, cs, de, es, fr, hu, it, ja, ko, pl, pt-br, ru, zh-hans, zh-hant}}
 +
One of the many infobox templates. Used (unsurprisingly) for providing general information about the game's many [[comics]].
 +
 +
== Arguments ==
 +
{| class="wikitable grid"
 +
! class="wikitable header" colspan="2" | Required arguments
 +
|-
 +
| preview || Preview image, should contain the file extension.
 +
|-
 +
! class="wikitable header" colspan="2" | Optional arguments
 +
|-
 +
| style || Custom HTML styling for the entire infobox
 +
|-
 +
| name/NAME/comics-name-override/title || Infobox title overrides, in increasing order. By default, BASEPAGENAME is used for the infobox title.
 +
|-
 +
| release-date || Adds a row to the infobox, containing "Released" (localized) and the contents of this parameter.
 +
|-
 +
| number-of-pages || Adds a row to the infobox, containing "Number of pages" (localized) and the contents of this parameter.
 +
|-
 +
| artist || Adds a row to the infobox, containing "Artist" (localized) and the contents of this parameter.
 +
|-
 +
| artists || Plural.
 +
|-
 +
| writer || Adds a row to the infobox, containing "Writer" (localized) and the contents of this parameter.
 +
|-
 +
| writers || Plural.
 +
|-
 +
| colorist || Adds a row to the infobox, containing "Colorist" (localized) and the contents of this parameter.
 +
|-
 +
| colorists || Plural.
 +
|}
 +
 +
== Example ==
 +
<pre>
 +
{{Comic infobox
 +
| preview = Logo.png
 +
| style = float: right
 +
| title = Team Fortress Wiki
 +
| release-date = July 9, 2010
 +
| number-of-pages = {{NUMBEROFARTICLES}}
 +
| artist = Medic
 +
| writer = Heavy
 +
| colorist = Scout
 +
}}
 +
</pre>
 +
 +
{{Comic infobox
 +
| preview = Logo.png
 +
| style = float: right
 +
| title = Team Fortress Wiki
 +
| release-date = July 9, 2010
 +
| number-of-pages = {{NUMBEROFARTICLES}}
 +
| artist = Medic
 +
| writer = Heavy
 +
| colorist = Scout
 +
}}
 +
 +
{{clr}}
 
[[Category:Infobox templates|Infobox comics]]
 
[[Category:Infobox templates|Infobox comics]]
 
</noinclude>
 
</noinclude>

Latest revision as of 16:22, 22 December 2024

Comic infobox
Screenshot needed.png
Comic Strip Info

Documentation for Comic infobox

One of the many infobox templates. Used (unsurprisingly) for providing general information about the game's many comics.

Arguments

Required arguments
preview Preview image, should contain the file extension.
Optional arguments
style Custom HTML styling for the entire infobox
name/NAME/comics-name-override/title Infobox title overrides, in increasing order. By default, BASEPAGENAME is used for the infobox title.
release-date Adds a row to the infobox, containing "Released" (localized) and the contents of this parameter.
number-of-pages Adds a row to the infobox, containing "Number of pages" (localized) and the contents of this parameter.
artist Adds a row to the infobox, containing "Artist" (localized) and the contents of this parameter.
artists Plural.
writer Adds a row to the infobox, containing "Writer" (localized) and the contents of this parameter.
writers Plural.
colorist Adds a row to the infobox, containing "Colorist" (localized) and the contents of this parameter.
colorists Plural.

Example

{{Comic infobox
| preview = Logo.png
| style = float: right
| title = Team Fortress Wiki
| release-date = July 9, 2010
| number-of-pages = {{NUMBEROFARTICLES}}
| artist = Medic
| writer = Heavy
| colorist = Scout
}}
Team Fortress Wiki
Logo.png
Comic Strip Info
Released: July 9, 2010
Number of pages: 74,989
Artist: Medic
Writer: Heavy
Colorist: Scout