This wiki is a XML full dump clone of "Heroes Wiki", the main wiki about the Heroes saga that has been shut down permanently since June 1, 2020. The purpose of this wiki is to keep online an exhaustive and accurate database about the franchise.
Template:Infobox group: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>MiamiVolts m Add colons |
imported>Piemanmoo this should make it look nicer on user subpages |
||
| (13 intermediate revisions by 4 users not shown) | |||
| Line 2: | Line 2: | ||
{| class="infobox" style="width: 270px; text-align: left; font-size: 70%; background-color: #{{#ifeq:{{{spoiler|}}}|true|F4D5CC|CCD5F4}}; font-family: Verdana, Arial, Helvetica, sans-serif; border: 1px solid #{{#ifeq:{{{spoiler|}}}|true|E18F77|778FE1}}; padding: 2px; -moz-border-radius:10px;" cellspacing="2" |
{| class="infobox" style="width: 270px; text-align: left; font-size: 70%; background-color: #{{#ifeq:{{{spoiler|}}}|true|F4D5CC|CCD5F4}}; font-family: Verdana, Arial, Helvetica, sans-serif; border: 1px solid #{{#ifeq:{{{spoiler|}}}|true|E18F77|778FE1}}; padding: 2px; -moz-border-radius:10px;" cellspacing="2" |
||
|- |
|- |
||
! style="background: #{{#ifeq:{{{spoiler|}}}|true|8B0000|cedff2}}; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 80%; border: 1px solid #{{#ifeq:{{{spoiler|}}}|true|E18F77|778FE1}}; padding: 2px; -moz-border-radius:10px; text-align: center; font-size: 120%;" align="center" colspan="2" | {{#if: {{{name|}}} | {{{name}}} | {{ |
! style="background: #{{#ifeq:{{{spoiler|}}}|true|8B0000|cedff2}}; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 80%; border: 1px solid #{{#ifeq:{{{spoiler|}}}|true|E18F77|778FE1}}; padding: 2px; -moz-border-radius:10px; text-align: center; font-size: 120%;" align="center" colspan="2" | {{#if: {{{name|}}} | {{#ifeq:{{{spoiler|}}}|true|<font color="white">{{{name}}}</font>|{{{name}}} }} | {{#ifeq:{{{spoiler|}}}|true|<font color="white">{{SUBPAGENAME}}</font>|{{SUBPAGENAME}} }} }} |
||
|- |
|- |
||
{{#if: {{{image|}}} | <tr> <td align="center" colspan="2"> |
{{#if: {{{image|}}} | <tr> <td align="center" colspan="2">{{#if: {{#pos:{{lc:{{{image}}}}}|image:}} |{{{image}}}|[[Image:{{{image}}}|250px]]}} | <tr> <td align="center" colspan="2">[[Image:blank.jpg|250px]] }}<!-- |
||
{{#if: {{{ |
-->{{#if: {{{caption|}}} | <br>{{{caption}}}</td> </tr>}}<!-- |
||
{{#if: {{{ |
-->{{#if: {{{location|}}} | <tr> <th>Location:</th> <td>{{#ifexist: {{{location}}} | [[{{{location}}}]] | {{{location}}} }}</td> </tr>}}<!-- |
||
| ⚫ | |||
|- |
|- |
||
{{#if: {{{debut|}}} | <tr> <th>First appearance |
{{#if: {{{debut|}}} | <tr> <th>First appearance</th> <td>''{{#if: {{#pos:{{{debut}}}|pisode:}} |{{{debut}}}|{{#ifexist: {{{debut}}} | [[{{{debut}}}]] | {{{debut}}} }}}}''</td> </tr>}}<!-- |
||
-->{{#if: {{{mention|}}} | <tr> <th>First mentioned:</th> <td>''{{#if: {{#pos:{{{mention}}}|pisode:}} |{{{mention}}}|{{#ifexist: {{{mention}}} | [[Episode:{{{mention}}}|{{{mention}}}]] | {{{mention}}} }}}}''</td> </tr>}} |
-->{{#if: {{{mention|}}} | <tr> <th>First mentioned:</th> <td>''{{#if: {{#pos:{{{mention}}}|pisode:}} |{{{mention}}}|{{#ifexist: {{{mention}}} | [[Episode:{{{mention}}}|{{{mention}}}]] | {{{mention}}} }}}}''</td> </tr>}} |
||
| ⚫ | |||
|- |
|- |
||
{{#if: {{{leaders|}}} | <tr> <th>{{#if: {{#pos:{{{leaders|}}}|,}} | Known leaders: | Known leader: }}</th> <td>{{{leaders}}}</td> </tr>}}<!-- |
{{#if: {{{leaders|}}} | <tr> <th>{{#if: {{#pos:{{{leaders|}}}|,}} | Known leaders: | Known leader: }}</th> <td>{{{leaders}}}</td> </tr>}}<!-- |
||
-->{{#if: {{{members|}}} | <tr> <th>Known members:</th> <td>{{{members |
-->{{#if: {{{members|}}} | <tr> <th>Known members:</th> <td>{{{members}}}</td> </tr>}}<!-- |
||
-->{{#if: {{{sites|}}} | <tr> <th>Affiliated sites:</th> <td>{{{sites |
-->{{#if: {{{sites|}}} | <tr> <th>Affiliated sites:</th> <td>{{{sites}}}</td> </tr>}}<!-- |
||
-->{{#if: {{{gear|}}} | <tr> <th>Equipment used:</th> <td>{{{gear |
-->{{#if: {{{gear|}}} | <tr> <th>Equipment used:</th> <td>{{{gear}}}</td> </tr>}} |
||
| ⚫ | |||
|} |
|||
| ⚫ | |||
==Usage== |
==Usage== |
||
| Line 24: | Line 23: | ||
===Behavior=== |
===Behavior=== |
||
* If the ''image'' value is left blank, the template will auto-add the <nowiki>{{</nowiki>[[:Template:noimage|noimage]]}} template to the top of the page. |
* If the ''image'' value is left blank, the template will auto-add the <nowiki>{{</nowiki>[[:Template:noimage|noimage]]}} template to the top of the page. |
||
* If the box name is set by the Article title, and the text will automatically be converted into a reference. If not, the value will display as normal (non-linked) text. The group article is expected to belong to [[:Category:Named |
* If the box name is set by the Article title, and the text will automatically be converted into a reference. If not, the value will display as normal (non-linked) text. The group article is expected to belong to [[:Category:Named Groups]] or [[:Category:Unnamed Groups]]. |
||
<pre>{{Infobox group |
<pre>{{Infobox group |
||
| Line 31: | Line 30: | ||
| location = <!-- Location where the group is based --> |
| location = <!-- Location where the group is based --> |
||
| purpose = <!-- Purpose of the group --> |
| purpose = <!-- Purpose of the group --> |
||
| debut = <!-- |
| debut = <!-- Where group first appeared --> |
||
| mention = <!-- |
| mention = <!-- Where group was first mentioned. Use for groups which have not debuted. --> |
||
| died = <!-- If deceased group, time of death --> |
|||
| leaders = <!-- links to group's leader(s) --> |
| leaders = <!-- links to group's leader(s) --> |
||
| members = <!-- links to group's members --> |
| members = <!-- links to group's members --> |
||
| Line 41: | Line 39: | ||
}}</pre> |
}}</pre> |
||
[[Category: Templates]] |
|||
[[Category: Sidebars]] |
[[Category: Sidebars]] |
||
</noinclude> |
</noinclude> |
||
Latest revision as of 05:37, 6 January 2009
| Infobox group | |
|---|---|
|
Usage
Produces a right-floated infobox for articles referring to groups in the Heroes series.
Behavior
- If the image value is left blank, the template will auto-add the {{noimage}} template to the top of the page.
- If the box name is set by the Article title, and the text will automatically be converted into a reference. If not, the value will display as normal (non-linked) text. The group article is expected to belong to Category:Named Groups or Category:Unnamed Groups.
{{Infobox group
| image = <!--Image link-->
| caption = <!-- Caption for image -->
| location = <!-- Location where the group is based -->
| purpose = <!-- Purpose of the group -->
| debut = <!-- Where group first appeared -->
| mention = <!-- Where group was first mentioned. Use for groups which have not debuted. -->
| leaders = <!-- links to group's leader(s) -->
| members = <!-- links to group's members -->
| sites = <!-- links to group's sites -->
| gear = <!--links to group's equipment -->
| spoiler = <!-- "true" for spoiler warning and colors -->
}}