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

From blackwiki
Jump to navigation Jump to search
imported>Thumperward
(general syntax cleanup. portal doesn't belong on here)
(should have some link)
Line 7: Line 7:
 
| list1  = [[Dungeons & Dragons controversies|Controversies]]{{,}} [[Editions of Dungeons & Dragons|Editions]]{{,}} [[Dungeons & Dragons game mechanics|Game mechanics]]{{,}} [[Dungeons & Dragons in popular culture|Popular culture]]{{,}} [[Dungeons & Dragons rulebooks|Rulebooks]]{{,}} [[Sources and influences on the development of Dungeons & Dragons|Sources and influences]]{{,}} [[Dungeons & Dragons campaign settings|Campaign settings]]{{,}} [[Dungeons & Dragons related products|Related products]]
 
| list1  = [[Dungeons & Dragons controversies|Controversies]]{{,}} [[Editions of Dungeons & Dragons|Editions]]{{,}} [[Dungeons & Dragons game mechanics|Game mechanics]]{{,}} [[Dungeons & Dragons in popular culture|Popular culture]]{{,}} [[Dungeons & Dragons rulebooks|Rulebooks]]{{,}} [[Sources and influences on the development of Dungeons & Dragons|Sources and influences]]{{,}} [[Dungeons & Dragons campaign settings|Campaign settings]]{{,}} [[Dungeons & Dragons related products|Related products]]
 
| group2 = Gameplay
 
| group2 = Gameplay
| list2  = [[Dungeons & Dragons game mechanics|Game mechanics]]{{,}} [[Magic of Dungeons & Dragons|Magic]]{{,}} [[Alignment (Dungeons & Dragons)|Alignment]]{{,}} [[Character class (Dungeons & Dragons)|Character classes]]{{,}} [[Character race (Dungeons & Dragons)|Character races]]{{,}} [[Magic item (Dungeons & Dragons)|Magic items]]
+
| list2  = [[Dungeons & Dragons game mechanics|Game mechanics]]{{,}} [[Magic of Dungeons & Dragons|Magic]]{{,}} [[Alignment (Dungeons & Dragons)|Alignment]]{{,}} [[Character class (Dungeons & Dragons)|Character classes]]{{,}} [[Character race (Dungeons & Dragons)|Character races]]{{,}} [[Magic item (Dungeons & Dragons)|Magic items]]{{,}}[[Lists of Dungeons & Dragons monsters|Monsters]]
 
| group3 = Creators
 
| group3 = Creators
 
| list3  = [[Gary Gygax]]{{,}} [[Dave Arneson]]{{,}} [[Ed Greenwood]]{{,}} [[Margaret Weis]]{{,}} [[Tracy Hickman]]
 
| list3  = [[Gary Gygax]]{{,}} [[Dave Arneson]]{{,}} [[Ed Greenwood]]{{,}} [[Margaret Weis]]{{,}} [[Tracy Hickman]]

Revision as of 19:30, 9 February 2009

Template documentation[view] [edit] [history] [purge]

Initial visibility: currently defaults to collapsed

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{D&D basics|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{D&D basics|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{D&D basics|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to collapsed.


How to manage this template's collapsible groups/sections option
  • This template includes collapsible groups/sections. When it first appears, one of these groups/sections may be set to be visible ("expanded") while the others remain hidden ("collapsed") apart from their titlebars. To achieve this, include the parameter |name where name is one of the following words that identify the groups/sections (omit any speech or quotation marks):
    • basics
    • geocosmo
    • playchar
    • beasts
    • pubs
  • For example: {{D&D basics |geocosmo}}

Template:D&D topics (Click [show] to see example)