Template:Comics: Difference between revisions

From Halopedia, the Halo wiki

mNo edit summary
m (Text replacement - "|style= background:#555;↵|titlestyle= color:#fff;↵" to "")
 
(46 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{clear}}
{{#switch:{{{1|}}}|HU=
{{Navbox
{{Navbox
|name=Comics
|name=Comics
|state=plain
|title=List of ''Halo'' comic series and issues
|title=List of ''Halo'' comic series and issues
|style= width:660px; background:#81A0B5; margin:0 auto; border-radius:.5em;
|liststyle= background:none;
|titlestyle= background:lightsteelblue; border-radius:.5em; text-align:center;
 
|list1= {{Comics/HU}}
|list1= {{#if:{{{1|}}}|{{Comics/{{{1}}}|yes}}| {{Comics/HU}} {{Comics/HJ}} {{Comics/BL}} {{Comics/FOR}} {{Comics/HI}} {{Comics/HE}} {{Comics/ROA}} {{Comics/HCD}} {{Comics/LW}} }}
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Comics|<span style="color:#F1F1F1; text-decoration:underline;">our Comics directory</span>]].</div>
 
}}
|below= {{#if:{{{1|}}}|For a complete list, check out [[:Category:Comics|our comics category]].}}
|HJ=
}}<noinclude>
{{Navbox
|name=Comics
|state=plain
|title=List of ''Halo'' comic series and issues
|style= width:660px; background:#333333; margin:0 auto; border-radius:.5em;
|titlestyle= background:lightsteelblue; border-radius:.5em; text-align:center;
|list1= {{Comics/HJ}}
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Comics|<span style="color:#F1F1F1; text-decoration:underline;">our Comics directory</span>]].</div>
}}
|BL=
{{Navbox
|name=Comics
|state=plain
|title=List of ''Halo'' comic series and issues
|style= width:660px; background:#333333; margin:0 auto; border-radius:.5em;
|titlestyle= background:lightsteelblue; border-radius:.5em; text-align:center;
|list1= {{Comics/BL}}
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Comics|<span style="color:#F1F1F1; text-decoration:underline;">our Comics directory</span>]].</div>
}}
|FOR=
{{Navbox
|name=Comics
|state=plain
|title=List of ''Halo'' comic series and issues
|style= width:660px; background:#333333; margin:0 auto; border-radius:.5em;
|titlestyle= background:lightsteelblue; border-radius:.5em; text-align:center;
|list1= {{Comics/FOR}}
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Comics|<span style="color:#F1F1F1; text-decoration:underline;">our Comics directory</span>]].</div>
}}
|HI=
{{Navbox
|name=Comics
|state=plain
|title=List of ''Halo'' comic series and issues
|style= width:660px; background:#333333; margin:0 auto; border-radius:.5em;
|titlestyle= background:lightsteelblue; border-radius:.5em; text-align:center;
|list1= {{Comics/HI}}
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Comics|<span style="color:#F1F1F1; text-decoration:underline;">our Comics directory</span>]].</div>
}}
|HE=
{{Navbox
|name=Comics
|state=plain
|title=List of ''Halo'' comic series and issues
|style= width:660px; background:#333333; margin:0 auto; border-radius:.5em;
|titlestyle= background:lightsteelblue; border-radius:.5em; text-align:center;
|list1= {{Comics/HE}}
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Comics|<span style="color:#F1F1F1; text-decoration:underline;">our Comics directory</span>]].</div>
}}
|#default=
{{Navbox
|name=Comics
|state=plain
|title=List of ''Halo'' comic series and issues
|style= width:660px; background:#333333; margin:0 auto; border-radius:.5em;
|titlestyle= background:lightsteelblue; border-radius:.5em; text-align:center;
|list1= {{Comics/HU}}
|list2= {{Comics/HJ}}
|list3= {{Comics/BL}}
|list4= {{Comics/FOR}}
|list5= {{Comics/HI}}
|list6= {{Comics/HE}}
}}<includeonly>{{#if: {{{category|}}}||[[Category:Comics|{{PAGENAME}}]]}}</includeonly>}}
<noinclude>
== About ==
== About ==
This template is intended to be used in articles for individual comic book issues; for articles about comic series, graphic novels and non-serialized comics, use the [[:Template:Literature|Literature]] template instead.
This template is intended to be used in articles for individual comic book issues; for articles about books use the [[:Template:Navbox/Media/Novels|novels]] template, for articles about graphic novels and non-serialized comics use the [[:Template:Navbox/Media/Comic|comics]] template, for articles about reference books use the [[:Template:Navbox/Media/Reference|reference]] template.


This template puts a [[:Category:Comics|Comics directory]] wherever it is placed. This template has been adjusted to display certain child templates at a time. Placing one of the following will instruct the template to only display those child templates. By default, it will display all of them.
This template has been adjusted to display certain child templates at a time. Placing one of the following will instruct the template to only display that child template. By default, it will display all of them.


*<code>H1</code> - displays [[/HU]]
*<code>HU</code> - displays [[/HU]]
*<code>H2</code> - displays [[/HJ]]
*<code>HJ</code> - displays [[/HJ]]
*<code>H3</code> - displays [[/BL]]
*<code>BL</code> - displays [[/BL]]
*<code>H4</code> - displays [[/FOR]]
*<code>FOR</code> - displays [[/FOR]]
*<code>H5G</code> - displays [[/HI]]
*<code>HI</code> - displays [[/HI]]
*<code>H3R</code> - displays [[/HE]]
*<code>HE</code> - displays [[/HE]]
*Adding anything in <code>|category=</code> will remove the Comics directory.
*<code>ROA</code> - displays [[/ROA]]
*<code>HCD</code> - displays [[/HCD]]
*<code>LW</code> - displays [[/LW]]


[[Category:Navigation boxes]]
[[Category:Special navigation templates]]</noinclude>
</noinclude>

Latest revision as of 13:43, August 27, 2023

About

This template is intended to be used in articles for individual comic book issues; for articles about books use the novels template, for articles about graphic novels and non-serialized comics use the comics template, for articles about reference books use the reference template.

This template has been adjusted to display certain child templates at a time. Placing one of the following will instruct the template to only display that child template. By default, it will display all of them.

  • HU - displays /HU
  • HJ - displays /HJ
  • BL - displays /BL
  • FOR - displays /FOR
  • HI - displays /HI
  • HE - displays /HE
  • ROA - displays /ROA
  • HCD - displays /HCD
  • LW - displays /LW