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:Sectstub: Difference between revisions

From Heroes Wiki
Jump to navigation Jump to search
Content deleted Content added
imported>Baldbobbo
testing to make user stub subs for section stub
imported>LIMAFOX76
m updating with all border radius
 
(13 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{|style="padding: 2px; padding-left:2em; background-color: #F0E68C; border: 1px solid rgb(204, 204, 204); width: 100%;-moz-border-radius:8px;"
{|style="padding: 2px; padding-left:2em; background-color: #F0E68C; border: 1px solid rgb(204, 204, 204); width: 65%; -khtml-border-radius:8px; -moz-border-radius:8px; -webkit-border-radius:8px; border-radius:8px;"
|-
|-
|align=left|[[Image:Stub.jpg|30px]]<span style="font-size:14px;padding-left:1em">''This section is a [[:Category:{{#switch: {{{type|}}} | cast = Cast and Crew Stubs | crew = Cast and Crew Stubs| character = Stubs | Stubs}}|stub]]. You can help by <span class="plainlinks">[{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} expanding it]</span>. {{#if: {{{needs|}}} | In particular, this section needs {{{needs}}}. | }}''</span>
|align=left|[[Image:Stub.jpg|30px]]<span style="font-size:14px;padding-left:1em">''This section is a [[:Category:{{#switch: {{{type|}}} | cast = Cast and Crew Stubs | crew = Cast and Crew Stubs| character = Stubs | Stubs}}|stub]]. You can help by <span class="plainlinks">[{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} expanding it]</span>. {{#if: {{{needs|}}} | In particular, this section needs {{{needs}}}. | }}''</span>
|}<includeonly>{{#ifeq:{{NAMESPACE}}|User|[[Category:User Stubs]]]|[[Category:{{#switch: {{{type|}}} | cast = Cast and Crew Stubs | crew = Cast and Crew Stubs | character = Stubs | Stubs}}{{#ifeq: {{{type}}}|character||{{pipe}}}}{{#switch: {{{type|}}} | cast = {{{sort|{{castsubcat}}}}} | crew = {{{sort|{{castsubcat}}}}} | character=|{{{sort|{{PAGENAME}}}}} }}]]</includeonly><noinclude>
|}<includeonly>[[Category:{{#switch: {{{type|}}} | cast = Cast and Crew Stubs | crew = Cast and Crew Stubs | character = Stubs | #default = {{#ifeq:{{NAMESPACE}}|User|User Stubs|Stubs}}}}]]{{#if:{{{sort|}}}|{{DEFAULTSORT:{{{sort|}}}}}|}}</includeonly><noinclude>




Line 30: Line 30:



[[Category: Templates]]
[[Category: Messages]]
[[Category: Messages]]
</noinclude>
</noinclude>

Latest revision as of 07:33, 13 July 2013

This section is a stub. You can help by expanding it.


Usage

Marks section as a stub and adds [[Category: Stubs]]. Used to mark articles which need to be expanded. Will clear right-floated images if necessary.

You can add a note of what the section needs to have done to be considered complete by piping the variable needs and a summary of what's required.

You can override the cat sort by adding sort=

You can also assign the stub a type to add it to a subcategory:

Type Category Notes
cast Cast and Crew Stubs Auto cat-sorts by last name, can override with sort
crew Cast and Crew Stubs Auto cat-sorts by last name, can override with sort
character Stubs will use DEFAULTSORT from characterbox
{{sectstub 
| needs = <!--OPTIONAL what article needs to be complete-->
| type = <!-- OPTIONAL assign to a subcategory-->
| sort = <!-- OPTIONAL cat sort override-->}}