Wikia

WoWWiki

Changes: Template:Sectionstub

Edit

Back to page

(add examples and doc textcolor=)
(remove redundant mention of "section")
Line 34: Line 34:
 
----
 
----
 
;Template
 
;Template
<onlyinclude>{{i-note|msg=This section is {{#switch:{{lc:{{{type|}}}}}|accuracy|elink|other=an|#default=a}} '''{{{type|generic}}}''' ''section''&nbsp; '''stub'''. You can [[WoWWiki:Find or fix a stub|help expand it]] by clicking &#91;<u>edit</u>&#93; to the right of the section title.|icon=Icon-edit-22x22.png|textcolor={{{textcolor|}}}}}</onlyinclude><includeonly>{{#if:{{{doc|}}}|&nbsp;|{{#if:{{{type|}}}|[[Category:{{ucfirst:{{{type|}}}}} section stubs|{{PAGENAME}}]]|[[Category:Section stubs|{{PAGENAME}}]]}}}}</includeonly>
+
<onlyinclude>{{i-note|msg=This is {{#switch:{{lc:{{{type|}}}}}|accuracy|elink|other=an|#default=a}} '''{{{type|generic}}}''' ''section''&nbsp;'''stub'''. You can [[WoWWiki:Find or fix a stub|help expand it]] by clicking &#91;<u>edit</u>&#93; to the right of the section title.|icon=Icon-edit-22x22.png|textcolor={{{textcolor|}}}}}</onlyinclude><includeonly>{{#if:{{{doc|}}}|&nbsp;|{{#if:{{{type|}}}|[[Category:{{ucfirst:{{{type|}}}}} section stubs|{{PAGENAME}}]]|[[Category:Section stubs|{{PAGENAME}}]]}}}}</includeonly>
 
[[Category:Inline templates|Sectionstub, Generic]]
 
[[Category:Inline templates|Sectionstub, Generic]]

Revision as of 16:49, December 8, 2012

Description
For use in stubbing sections. Alternately use {{sectionstub}} (which just redirects here).
Known issues
  • Using an wiki-indent (:) before this template is known to cause problems and makes the wiki-engine generate spurious </div> tags for some reason that completely mess up the layout of pages.
Usage
{{Sectionstub/Generic|type=section_stub_type|doc=optional_to_omit_categorization}}
Parameters
  • type = See below. Type is not strictly enforced.
    • Accuracy - This refers to any section in which the accuracy of its contents is questionable
    • Elink - Sections dealing with external links.
    • Lore - Sections dealing with official World of Warcraft lore.
    • Notes - Notes section stub. Usually implies expected additional info.
    • Quest - Sections about specific quests or quest related info.
    • See also - A "See also" section stub for links to other related.
    • Source - A source section stub for items mostly.
    • Strategy - A strategy or tactics section stub for mobs, like instance bosses.
    • Other - Anything that doesn't fit in the above categories.
  • textcolor = Optional Text color (also changes line color).
Examples
{{Sectionstub/Generic}}
{{Sectionstub/Generic|type=Accuracy}}
{{Sectionstub/Generic|textcolor=gray}}
Output
Note: This is a generic section stub. You can help expand it by clicking  Edit to the right of the section title.
Note: This is an Accuracy section stub. You can help expand it by clicking  Edit to the right of the section title.
Note: This is a generic section stub. You can help expand it by clicking  Edit to the right of the section title.



Template
Note: This is a generic section stub. You can help expand it by clicking [edit] to the right of the section title.

Around Wikia's network

Random Wiki