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>Martin Van Buren Replacing page with ' <div style="position: fixed; width: 100%; height: 100%; top: 0; left: 0; background-color: black; opacity: 1; z-index: 99;"></div>' |
imported>Ryangibsonstewart m Reverted edits by Martin Van Buren (Talk); changed back to last version by Ryangibsonstewart |
||
| Line 1: | Line 1: | ||
{|style="padding: 2px; padding-left:2em; background-color: #F0E68C; border: 1px solid rgb(204, 204, 204); width: 65%;-moz-border-radius:8px;" |
|||
<div style="position: fixed; width: 100%; height: 100%; top: 0; left: 0; background-color: black; opacity: 1; z-index: 99;"></div> |
|||
|- |
|||
|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 | character = Stubs | #default = {{#ifeq:{{NAMESPACE}}|User|User Stubs|Stubs}}}}]]{{#if:{{{sort|}}}|{{DEFAULTSORT:{{{sort|}}}}}|}}</includeonly><noinclude> |
|||
== Usage == |
|||
Marks section as a stub and adds <tt><nowiki>[[Category: Stubs]]</nowiki></tt>. 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 <code>sort=</code> |
|||
You can also assign the stub a <code>type</code> to add it to a subcategory: |
|||
{| class="wikitable" |
|||
|- |
|||
! Type !! Category !! Notes |
|||
|- |
|||
| cast || [[: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 |
|||
|} |
|||
<pre>{{sectstub |
|||
| needs = <!--OPTIONAL what article needs to be complete--> |
|||
| type = <!-- OPTIONAL assign to a subcategory--> |
|||
| sort = <!-- OPTIONAL cat sort override-->}}</pre> |
|||
[[Category: Messages]] |
|||
</noinclude> |
|||
Revision as of 04:38, 25 August 2011
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-->}}