Difference between revisions of "Template:D&D topics"

From blackwiki
Jump to navigation Jump to search
imported>Apo-kalypso
(Trying again to implement correct syntax that will enable use of child navboxes.)
imported>Apo-kalypso
(Perhaps this time.)
Line 5: Line 5:
 
| selected =  
 
| selected =  
 
   {{#switch:{{ucfirst:{{{1|}}}}}
 
   {{#switch:{{ucfirst:{{{1|}}}}}
   | basic | company | companies | creator | creators | gameplay | general | license | licenses | GSL | OGL | SRD = basics
+
   | basic | basics | company | companies | creator | creators | gameplay | general | license | licenses | GSL | OGL | SRD = Basics
   | plane | planes | setting | settings | world | worlds | campaign settings | geography and cosmology | planes of existence = geocosmo
+
   | geocosmo | plane | planes | setting | settings | world | worlds | campaign settings | planes of existence = Geography and Cosmology
   | character | characters | class | classes | race | races | player characters | notable characters = playchar
+
   | character | characters | class | classes | playchar| race | races | player characters | notable characters = Player Characters
   | creature | creatures | deity | deities | god | gods | monster | monsters | beasts and other beings | creatures and monsters | deities and powers = beasts
+
   | beast | beasts | creature | creatures | deity | deities | god | gods | monster | monsters | creatures and monsters | deities and powers = Beasts and Other Beings
   | book | books | module | modules | periodical | periodicals | publication | publications | rulebook | rulebooks | supplement | supplements | core rulebooks | notable modules | rules expansion sets = pubs
+
   | book | books | module | modules | periodical | periodicals | publication | pubs | rulebook | rulebooks | supplement | supplements | core rulebooks | notable modules | rules expansion sets = Publications
   | video game | video games | vidgames = vidgame
+
   | video game | vidgame | vidgames = Video Games
 
   | #default = {{ns:0}}
 
   | #default = {{ns:0}}
 
   }}
 
   }}

Revision as of 21:25, 31 July 2011

NOTE: After inserting the navigational template {{D&D topics}} into the body of an article, you may include a pipe followed by the group name (groupn) of a particular child navbox – or any one of its corresponding abbreviations (abbrn) – in order to have that group open automatically in the article. For example, {{D&D topics|publications}} or {{D&D topics|pubs}} will open the "Publications" group but leave all others in a collapsed state.