Template:Source: Difference between revisions

From Greyhawk Wiki
Jump to navigation Jump to search
Robbastard (talk | contribs)
oops
Robbastard (talk | contribs)
try this
Line 1: Line 1:
{| class="toccolours" style="float:right; margin:0 0 0.5em 1em; width:21em; clear:right;"
{| class="toccolours" style="float:right; margin:0 0 0.5em 1em; width:21em; clear:right;"
|-
|-
! colspan=2 style="text-align:center; font-size: larger;" |  '''[[:Category:Greyhawk sources|''Greyhawk'' Source]]'''
! colspan=2 style="text-align:center; font-size: larger;" |  '''''Greyhawk'' Source'''
|-
|-
!colspan=2 style="font-size: large; background-color: {{{bgcolor<noinclude>|#000</noinclude>}}}; color: {{{fgcolor<noinclude>|#FFF</noinclude>}}}; line-height: 300%;" | <font face="Garamond">{{{name}}}
!colspan=2 style="font-size: large; background-color: {{{bgcolor<noinclude>|#000</noinclude>}}}; color: {{{fgcolor<noinclude>|#FFF</noinclude>}}}; line-height: 300%;" | <font face="Garamond">{{{name}}}
Line 62: Line 62:
</nowiki></pre>
</nowiki></pre>
</noinclude>
</noinclude>
[[Category:Greyhawk sources]]

Revision as of 12:35, 29 August 2009

Greyhawk Source
{{{name}}}
{{{image}}}
{{{caption}}}
Type {{{type}}}
Code/ Abbreviation {{{code}}}
Edition {{{edition}}}
Author(s) {{{author}}}
First Published {{{first published}}}
Series {{{series}}}
Classification {{{class}}}

This template should be added to all articles covering sourcebooks, modules, periodicals, novels, or any other real-life published works covering the World of Greyhawk setting.

Usage

{{Greyhawk source|fgcolor=#fff|
bgcolor=#000|
fgcolor=#fff|
image=|
caption=|
name=|
type=|
code=|
edition=|
author=|
first published=|
series=|
class=|
}}

Two additional optional parameters exist to enable changing of the background and foreground colors in the name part of the infobox, the default is white text on a black background.

|fgcolor=#fff
|bgcolor=#000