Wikia

Dungeons and Dragons Wiki

DnDWiki:DnD:Templates

Talk0
9,564pages on
this wiki
Revision as of 12:43, June 26, 2009 by Daranios (Talk | contribs)

D&D Wikia uses a lot of templates. The page will help to

Templates for images

{{bookthumbnail}}
One parameter: the original URL of the image.
Template:Bookthumbnail
{{GFDL}}
No parameters.
Template:GFDL
{{smalllogo}}
Two parameters: the name of the copyright holder and the source URL.
Template:Smalllogo

Layout templates

{{book}}
Three parameters: the title of a book, the subtitle or a category, and a list of authors.
DnD:Templates
Publication Order
Preceded by
{{{previous}}}
Followed by
{{{next}}}
{{tl}}
One parameters: the name of a template.
{{[[Template:{{{1}}}|{{{1}}}]]}}

Disambiguation templates

Template:Mainarticle

{{disambig}}, {{otheruses}}, {{distinguish}}

Stub templates

Template:Mainarticle

{{stub}}
No parameters.
{{enwikistub}}
No parameters.
Template:Enwikistub

SRD templates

All SRD material is put into templates to ensure it will not be changed. For example, the dagger article contains {{SRD-dagger}} template. While it is possible (and seems quite reasonable) for the article to be changed and expanded to include more information about different daggers, links to other related articles, etc, the SRD text will stay the same.

All SRD templates have the name which starts with "SRD" and a dash ({{SRD-quarterstaff}}, {{SRD-elves}}, {{SRD-AC}}, etc). They are all protected and cannot be edited by regular users. SRD templates are made with the {{SRDtext}} template. If you want to create a page with OGC, you can use the {{ogc}} template:

{{ogc}}
No parameters.
Template:Ogc

Templates for users

{{welcome}}
No parameters.

Hi there!

Example

Welcome!

Welcome to our wiki, and thank you for your contributions! There's a lot to do around here, so I hope you'll stay with us and make many more improvements.

Recent changes is a great first stop, because you can see what pages other people have been editing, and where you can help.
Questions? You can ask at the Help desk or on the "discussion" page associated with each article, or post a message on [[User talk:{{{1}}}|my talk page]]!
Need more help? The Community Portal has an outline of the site and links to pages to help you learn how to edit.
Please sign in every time you edit, so that we can recognise an established user.

I'm really happy to have you here, and look forward to working with you!


Layout templates

{{boxed}}
One parameter: what to put in the box.

{{{1}}}


{{mainarticle}}
One parameter: the link to the main article.
Template:Mainarticle


Article grouping templates

{{5gamers}}
No parameters.
Template:5gamers
{{popng}}
No parameters.
Template:Popng

Other templates

Around Wikia's network

Random Wiki