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

From blackwiki
Jump to navigation Jump to search
imported>Drilnoth
(Remove cat)
imported>Thumperward
(general syntax cleanup. portal doesn't belong on here)
Line 1: Line 1:
{{#ifeq:{{{portal|}}}|no||{{D&D portal}}}}
+
{{ navbox
{{Navbox
 
 
| name  = D&D basics
 
| name  = D&D basics
 
| title  = ''[[Dungeons & Dragons]]'' Basics
 
| title  = ''[[Dungeons & Dragons]]'' Basics
 
| image  = [[Image:icosahedron.svg|80px]]
 
| image  = [[Image:icosahedron.svg|80px]]
| abovestyle = background:#f0f0f0;
+
 
 
| group1 = General
 
| group1 = General
| 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]]
 
| 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]]
 
| group4 = Companies
 
| group4 = Companies
| list4  = [[TSR, Inc.]] [[Wizards of the Coast]]
+
| list4  = [[TSR, Inc.]]{{,}} [[Wizards of the Coast]]
 
| group5 = Media
 
| group5 = Media
| list5  = [[Dungeons & Dragons (TV series)|Cartoon]] [[Dungeons & Dragons (film)|2000 film]] [[Dungeons & Dragons 2: Wrath of the Dragon God|2005 film]] [[Dungeons & Dragons (album)|Album]] [[Dungeons & Dragons Miniatures Game|Miniatures Game]] [[List of Dungeons & Dragons video games|Video games]]
+
| list5  = [[Dungeons & Dragons (TV series)|Cartoon]]{{,}} [[Dungeons & Dragons (film)|2000 film]]{{,}} [[Dungeons & Dragons 2: Wrath of the Dragon God|2005 film]]{{,}} [[Dungeons & Dragons (album)|Album]]{{,}} [[Dungeons & Dragons Miniatures Game|Miniatures Game]]{{,}} [[List of Dungeons & Dragons video games|Video games]]
 
| group6 = Licenses
 
| group6 = Licenses
| list6  = [[System Reference Document]] [[Open Game License]] [[Game System License]]
+
| list6  = [[System Reference Document]]{{,}} [[Open Game License]]{{,}} [[Game System License]]
}}
+
}}<noinclude>{{documentation}}</noinclude>
<noinclude>{{documentation}}</noinclude>
 

Revision as of 18:27, 3 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)