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
Jump to navigation
Jump to search
Content deleted Content added
imported>Ryangibsonstewart sectstubs don't need to clear |
imported>LIMAFOX76 m updating with all border radius |
||
| (19 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: |
{|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| Stubs}}|stub]]. You can help by [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} expanding it]. {{#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>[[Category:{{#switch: {{{type|}}} | cast = Cast and Crew Stubs | crew = Cast and Crew Stubs | Stubs |
|}<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 20: | Line 20: | ||
|- |
|- |
||
| crew || [[:Category:Cast and Crew Stubs|Cast and Crew Stubs]] || Auto cat-sorts by last name, can override with sort |
| crew || [[:Category:Cast and Crew Stubs|Cast and Crew Stubs]] || Auto cat-sorts by last name, can override with sort |
||
|- |
|||
| character || [[:Category:Stubs|Stubs]] || will use DEFAULTSORT from characterbox |
|||
|} |
|} |
||
| Line 28: | Line 30: | ||
[[Category: Templates]] |
|||
[[Category: Messages]] |
[[Category: Messages]] |
||
</noinclude> |
</noinclude> |
||
Latest revision as of 07:33, 13 July 2013
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-->}}