Template:Forerunner: Difference between revisions

From Halopedia, the Halo wiki

(The parent category auto-assign clutters the main directory and nullifies the point of subcategories.)
mNo edit summary
Line 5: Line 5:
|state      = plain
|state      = plain
|title      = [[Forerunner|<span style="color:#000000;">The Forerunners</span>]] <span style="font-size:smaller;">(''[[:Category:The Forerunner|complete list]]'')</span>
|title      = [[Forerunner|<span style="color:#000000;">The Forerunners</span>]] <span style="font-size:smaller;">(''[[:Category:The Forerunner|complete list]]'')</span>
|style      = width:660px; background:#F5F5F5; border: 1px solid #999999; border-radius:4px; -o-border-radius:4px; -ms-border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; margin:0 auto;
|style      = width:660px; margin:0 auto; background:#F5F5F5; border: 1px solid #999999; border-radius:.5em;
|titlestyle = background:#C0C0C0; border-radius:4px; -o-border-radius:4px; -ms-border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; text-align:center;
|titlestyle = background:#C0C0C0; text-align:center; border-radius:.5em;
|list1      = {{Template:Forerunner/Array}}
|list1      = {{Template:Forerunner/Array}}
|list2      = {{Template:Forerunner/Array/Components}}
|list2      = {{Template:Forerunner/Array/Components}}
Line 17: Line 17:
|state      = plain
|state      = plain
|title      = [[Forerunner|<span style="color:#000000;">The Forerunners</span>]] <span style="font-size:smaller;">(''[[:Category:The Forerunner|complete list]]'')</span>
|title      = [[Forerunner|<span style="color:#000000;">The Forerunners</span>]] <span style="font-size:smaller;">(''[[:Category:The Forerunner|complete list]]'')</span>
|style      = width:660px; background:#F5F5F5; border: 1px solid #999999; border-radius:4px; -o-border-radius:4px; -ms-border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; margin:0 auto;
|style      = width:660px; margin:0 auto; background:#F5F5F5; border: 1px solid #999999; border-radius:.5em;
|titlestyle = background:#C0C0C0; border-radius:4px; -o-border-radius:4px; -ms-border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; text-align:center;
|titlestyle = background:#C0C0C0; text-align:center; border-radius:.5em;
|list1      = {{Template:Forerunner/Technology}}
|list1      = {{Template:Forerunner/Technology}}
|list2      = <div style="text-align:center; font-style:italic; font-size:smaller; color:#000;">For a complete list, check out [[:Category:The Forerunner|<span style="color:#000; text-decoration:underline;">our Forerunner directory</span>]].</div>
|list2      = <div style="text-align:center; font-style:italic; font-size:smaller; color:#000;">For a complete list, check out [[:Category:The Forerunner|<span style="color:#000; text-decoration:underline;">our Forerunner directory</span>]].</div>
Line 27: Line 27:
|state      = plain
|state      = plain
|title      = [[Forerunner|<span style="color:#000000;">The Forerunners</span>]] <span style="font-size:smaller;">(''[[:Category:The Forerunner|complete list]]'')</span>
|title      = [[Forerunner|<span style="color:#000000;">The Forerunners</span>]] <span style="font-size:smaller;">(''[[:Category:The Forerunner|complete list]]'')</span>
|style      = width:660px; background:#F5F5F5; border: 1px solid #999999; border-radius:4px; -o-border-radius:4px; -ms-border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; margin:0 auto;
|style      = width:660px; margin:0 auto; background:#F5F5F5; border: 1px solid #999999; border-radius:.5em;
|titlestyle = background:#C0C0C0; border-radius:4px; -o-border-radius:4px; -ms-border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; text-align:center;
|titlestyle = background:#C0C0C0; text-align:center; border-radius:.5em;
|list1      = {{Template:Forerunner/Ships}}
|list1      = {{Template:Forerunner/Ships}}
|list2      = <div style="text-align:center; font-style:italic; font-size:smaller; color:#000;">For a complete list, check out [[:Category:The Forerunner|<span style="color:#000; text-decoration:underline;">our Forerunner directory</span>]].</div>
|list2      = <div style="text-align:center; font-style:italic; font-size:smaller; color:#000;">For a complete list, check out [[:Category:The Forerunner|<span style="color:#000; text-decoration:underline;">our Forerunner directory</span>]].</div>
Line 37: Line 37:
|state      = plain
|state      = plain
|title      = [[Forerunner|<span style="color:#000000;">The Forerunners</span>]] <span style="font-size:smaller;">(''[[:Category:The Forerunner|complete list]]'')</span>
|title      = [[Forerunner|<span style="color:#000000;">The Forerunners</span>]] <span style="font-size:smaller;">(''[[:Category:The Forerunner|complete list]]'')</span>
|style      = width:660px; background:#F5F5F5; border: 1px solid #999999; border-radius:4px; -o-border-radius:4px; -ms-border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; margin:0 auto;
|style      = width:660px; margin:0 auto; background:#F5F5F5; border: 1px solid #999999; border-radius:.5em;
|titlestyle = background:#C0C0C0; border-radius:4px; -o-border-radius:4px; -ms-border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; text-align:center;
|titlestyle = background:#C0C0C0; text-align:center; border-radius:.5em;
|list1      = {{Template:Forerunner/Sentinel}}
|list1      = {{Template:Forerunner/Sentinel}}
|list2      = <div style="text-align:center; font-style:italic; font-size:smaller; color:#000;">For a complete list, check out [[:Category:The Forerunner|<span style="color:#000; text-decoration:underline;">our Forerunner directory</span>]].</div>
|list2      = <div style="text-align:center; font-style:italic; font-size:smaller; color:#000;">For a complete list, check out [[:Category:The Forerunner|<span style="color:#000; text-decoration:underline;">our Forerunner directory</span>]].</div>
Line 47: Line 47:
|state      = plain
|state      = plain
|title      = [[Forerunner|<span style="color:#000000;">The Forerunners</span>]] <span style="font-size:smaller;">(''[[:Category:The Forerunner|complete list]]'')</span>
|title      = [[Forerunner|<span style="color:#000000;">The Forerunners</span>]] <span style="font-size:smaller;">(''[[:Category:The Forerunner|complete list]]'')</span>
|style      = width:660px; background:#F5F5F5; border: 1px solid #999999; border-radius:4px; -o-border-radius:4px; -ms-border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; margin:0 auto;
|style      = width:660px; margin:0 auto; background:#F5F5F5; border: 1px solid #999999; border-radius:.5em;
|titlestyle = background:#C0C0C0; border-radius:4px; -o-border-radius:4px; -ms-border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; text-align:center;
|titlestyle = background:#C0C0C0; text-align:center; border-radius:.5em;
|list1      = {{Template:Forerunner/Weaponry}}
|list1      = {{Template:Forerunner/Weaponry}}
|list2      = <div style="text-align:center; font-style:italic; font-size:smaller; color:#000;">For a complete list, check out [[:Category:The Forerunner|<span style="color:#000; text-decoration:underline;">our Forerunner directory</span>]].</div>
|list2      = <div style="text-align:center; font-style:italic; font-size:smaller; color:#000;">For a complete list, check out [[:Category:The Forerunner|<span style="color:#000; text-decoration:underline;">our Forerunner directory</span>]].</div>
Line 57: Line 57:
|state      = plain
|state      = plain
|title      = [[Forerunner|<span style="color:#000000;">The Forerunners</span>]] <span style="font-size:smaller;">(''[[:Category:The Forerunner|complete list]]'')</span>
|title      = [[Forerunner|<span style="color:#000000;">The Forerunners</span>]] <span style="font-size:smaller;">(''[[:Category:The Forerunner|complete list]]'')</span>
|style      = width:660px; background:#F5F5F5; border: 1px solid #999999; border-radius:4px; -o-border-radius:4px; -ms-border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; margin:0 auto;
|style      = width:660px; margin:0 auto; background:#F5F5F5; border: 1px solid #999999; border-radius:.5em;
|titlestyle = background:#C0C0C0; border-radius:4px; -o-border-radius:4px; -ms-border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; text-align:center;
|titlestyle = background:#C0C0C0; text-align:center; border-radius:.5em;
|list1      = {{Template:Forerunner/Artifacts}}
|list1      = {{Template:Forerunner/Artifacts}}
|list2      = <div style="text-align:center; font-style:italic; font-size:smaller; color:#000;">For a complete list, check out [[:Category:The Forerunner|<span style="color:#000; text-decoration:underline;">our Forerunner directory</span>]].</div>
|list2      = <div style="text-align:center; font-style:italic; font-size:smaller; color:#000;">For a complete list, check out [[:Category:The Forerunner|<span style="color:#000; text-decoration:underline;">our Forerunner directory</span>]].</div>
Line 67: Line 67:
|state      = plain
|state      = plain
|title      = [[Forerunner|<span style="color:#000000;">The Forerunners</span>]]
|title      = [[Forerunner|<span style="color:#000000;">The Forerunners</span>]]
|style      = width:660px; background:#F5F5F5; border: 1px solid #999999; border-radius:4px; -o-border-radius:4px; -ms-border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; margin:0 auto;
|style      = width:660px; margin:0 auto; background:#F5F5F5; border: 1px solid #999999; border-radius:.5em;
|titlestyle = background:#C0C0C0; border-radius:4px; -o-border-radius:4px; -ms-border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; text-align:center;
|titlestyle = background:#C0C0C0; text-align:center; border-radius:.5em;
|list1      = {{Template:Forerunner/Array}}
|list1      = {{Template:Forerunner/Array}}
|list2      = {{Template:Forerunner/Array/Components}}
|list2      = {{Template:Forerunner/Array/Components}}
Line 80: Line 80:
<noinclude>
<noinclude>
== About ==
== About ==
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 in the field will instruct the template to only display those child templates. By default, it will display all of them.


;List of fields
*<code>array</code> - displays [[/Array]], [[/Array/Components]] and [[/Array/Others]]
*<code>array</code> - displays [[/Array]], [[/Array/Components]] and [[/Array/Others]]
*<code>technology</code> - displays [[/Technology]]
*<code>technology</code> - displays [[/Technology]]
Line 89: Line 90:
*<code>artifacts</code> - displays [[/Artifacts]]
*<code>artifacts</code> - displays [[/Artifacts]]
*specifying <code>|category=</code> will remove the Forerunner directory.
*specifying <code>|category=</code> will remove the Forerunner directory.
;Examples
Adding <code>array</code> in the template (i.e. <code><nowiki>{{Forerunner|array}}</nowiki></code>) will create the following:
{{Forerunner|array}}
Similarly, adding <code>weapons</code> in the template (i.e. <code><nowiki>{{Forerunner|weapons}}</nowiki></code>) will create the following:
{{Forerunner|weapons}}
If you want to remove the category, specifying anything in the <code>|category=</code> field will remove the Forerunner category. For example, <code><nowiki>{{Forerunner|category=no}}</nowiki></code>.


[[Category:Navigation boxes]]
[[Category:Navigation boxes]]
</noinclude>
</noinclude>

Revision as of 07:57, April 20, 2014

About

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

List of fields
Examples

Adding array in the template (i.e. {{Forerunner|array}}) will create the following:


Similarly, adding weapons in the template (i.e. {{Forerunner|weapons}}) will create the following:


If you want to remove the category, specifying anything in the |category= field will remove the Forerunner category. For example, {{Forerunner|category=no}}.