Template:Comics: Difference between revisions

From Halopedia, the Halo wiki

mNo edit summary
(Temp fix. Was needlessly complex.)
Line 1: Line 1:
{{clear}}
{{#switch:{{{1|}}}|HU=
{{Navbox
{{Navbox
|name=Comics
|name=Comics
|state=plain
|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;
|style= width:600px; margin:0 auto; background:#F2F3F4; border: 1px solid #222; border-radius:.5em;
|titlestyle= background:lightsteelblue; border-radius:.5em; text-align:center;
|titlestyle= background:#5D8AA8; color:#FFF; text-align:center; border-radius:0.5em;  
|list1= {{Comics/HU}}
|liststyle= background: transparent;
|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>
}}
|HJ=
{{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>
}}
|ROA=
{{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/ROA}}
|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}}
|list1= {{Comics/HU}}
|list2= {{Comics/HJ}}
|list2= {{Comics/HJ}}
Line 86: Line 15:
}}<includeonly>{{#if: {{{category|}}}||[[Category:Comics|{{PAGENAME}}]]}}</includeonly>}}
}}<includeonly>{{#if: {{{category|}}}||[[Category:Comics|{{PAGENAME}}]]}}</includeonly>}}
<noinclude>
<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 comic series, graphic novels and non-serialized comics, use the [[:Template:Literature|Literature]] template instead.

Revision as of 09:04, August 19, 2017

}}


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 Literature template instead.

This template puts a 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.

  • H1 - displays /HU
  • H2 - displays /HJ
  • H3 - displays /BL
  • H4 - displays /FOR
  • H5G - displays /HI
  • H3R - displays /HE
  • Adding anything in |category= will remove the Comics directory.