Wikia

WoWWiki

Changes: Template:Sectionstub

Edit

Back to page

(add examples and doc textcolor=)
 
(4 intermediate revisions by one user not shown)
Line 1: Line 1:
 
;Description
 
;Description
:For use in stubbing sections. Alternately use <code>{{t|sectionstub}}</code> (which just redirects here).
+
:For use in stubbing sections. Alternately use <code>{{t|Sectionstub/Generic}}</code> (which just redirects here).
   
 
;Known issues
 
;Known issues
Line 6: Line 6:
   
 
;Usage
 
;Usage
:<code>&#123;&#123;Sectionstub/Generic|type=''section_stub_type''|doc=''optional_to_omit_categorization''&#125;&#125;</code>
+
:<code>&#123;&#123;Sectionstub|type=''section_stub_type''|doc=''optional_to_omit_categorization''&#125;&#125;</code>
   
 
;Parameters
 
;Parameters
Line 22: Line 22:
   
 
;Examples
 
;Examples
:<code><nowiki>{{Sectionstub/Generic}}</nowiki></code>
+
:<code><nowiki>{{Sectionstub}}</nowiki></code>
:<code><nowiki>{{Sectionstub/Generic|type=Accuracy}}</nowiki></code>
+
:<code><nowiki>{{Sectionstub|type=Accuracy}}</nowiki></code>
:<code><nowiki>{{Sectionstub/Generic|textcolor=gray}}</nowiki></code>
+
:<code><nowiki>{{Sectionstub|textcolor=gray}}</nowiki></code>
   
 
;Output
 
;Output
{{Sectionstub/Generic}}
+
{{Sectionstub}}
{{Sectionstub/Generic|type=Accuracy}}
+
{{Sectionstub|type=Accuracy}}
{{Sectionstub/Generic|textcolor=gray}}
+
{{Sectionstub|textcolor=gray}}
   
   
 
----
 
----
 
;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 <verbatim>pencilsprite</verbatim>&nbsp;<u>Edit</u> 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]]

Latest revision as of 02:13, May 14, 2013

Description
For use in stubbing sections. Alternately use {{Sectionstub/Generic}} (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|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}}
{{Sectionstub|type=Accuracy}}
{{Sectionstub|textcolor=gray}}
Output
Icon-edit-22x22
Note: This is a generic section stub. You can help expand it by clicking  Edit to the right of the section title.
Icon-edit-22x22
Note: This is an Accuracy section stub. You can help expand it by clicking  Edit to the right of the section title.
Icon-edit-22x22
Note: This is a generic section stub. You can help expand it by clicking  Edit to the right of the section title.



Template
Icon-edit-22x22
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