Template:Source: Difference between revisions

From Greyhawk Wiki
Jump to navigation Jump to search
m 52 revisions imported: Imported from CF GH Wiki
new Template format
Line 1: Line 1:
{| class="toccolours" style="float:right; margin:0 0 0.5em 1em; width:21em; clear:right;"
{| class="floatright" style=" width:267px; border:1px solid MidnightBlue;"
|+'''Greyhawk Source'''
|
{| style=" width:265px; border:1px solid MidnightBlue; "
| colspan="2" style="background:MidnightBlue; line-height: 300%; text-align:center; " | <span style="font-family: Arial Black; font-size: 14pt; color:white">{{#if:{{{name|}}} | {{{name|}}} | {{PAGENAME}} }}</span>
|-
|-
! colspan=2 style="text-align:center; font-size: larger;" | '''''[[:Category:Greyhawk sources|Greyhawk'' Source]]'''
| colspan="2" style="text-align:center;"  | {{{image}}}
|-
|-
!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="text-align:center;" | <span style="font-size:8pt">{{{caption}}}</font>
|-
|-
|colspan=2 style="text-align:center;" | {{{image}}}
| colspan="2" style="background:MidnightBlue; line-height: 1%" |
|-
|-
|colspan=2 style="text-align:center;" | {{{caption}}}
|- style="vertical-align:top;"
|  {{#if:{{{type|}}} | '''Type:'''  }} ||  {{#if:{{{type|}}} | {{{type|}}} }}  
|-
|-
!colspan=2 style="background-color:{{{bgcolor|#000}}}; line-height: 1%"|  
|  {{#if:{{{code|}}} | '''Code/Abbreviation:'''  }} ||  {{#if:{{{code|}}} | {{{code|}}} }}
|-
|-
! Type
| {{#if:{{{edition|}}} | '''Edition:'''  }} ||  {{#if:{{{edition|}}} | {{{edition|}}} }}  
| {{{type}}}
|-
|-
! Code/ Abbreviation
| {{#if:{{{author|}}} | '''Author(s):'''  }} ||  {{#if:{{{author|}}} | {{{author|}}} }}  
| {{{code}}}
|-
|-
! Edition
| {{#if:{{{first published|}}} | '''First Published:'''  }} ||  {{#if:{{{first published|}}} | {{{first published|}}} }}  
| {{{edition}}}
|-
|-
! Author(s)
| {{#if:{{{series|}}} | '''Series:'''  }} ||  {{#if:{{{series|}}} | {{{series|}}} }}  
| {{{author}}}
|-
|-
! First Published
| {{#if:{{{class|}}} | '''Classification:'''  }} ||  {{#if:{{{class|}}} | {{{class|}}} }}  
| {{{first published}}}
|-
|-
! Series
|}
| {{{series}}}
|-
! Classification
| {{{class}}}
|}
|}
<noinclude>
<noinclude>
Line 36: Line 32:


==Usage==
==Usage==
Copy and paste the section below at the top of the article, and fill in the information areas. The image and caption parameters are optional, but are preferred. 
The recommended image size is a width of 250px so that it will completely fill the infobox without increasing its size.
If any fields are left undefined they will not appear.
Add wiki links by putting a word or phrase inside double brackets, <nowiki>[[like this]]</nowiki>, especially to lines like:
*satellites
*native inhabitants
Do ''not'' add wiki links to alignments.
The "name" is only necessary if it is notably different than the page name.  It  will be automatically generated if it is not entered. 
{| style="border: none; background: none;"
{| style="border: none; background: none;"
|<pre>
|<pre>
{{Greyhawk source|fgcolor=#fff|
{{Greyhawk source
bgcolor=#000|
|name            =
fgcolor=#fff|
|image            =
image=|
|caption         =
caption=|
|type             =
name=|
|code             =
type=|
|edition         =
code=|
|author           =
edition=|
|first published =
author=|
|series           =
first published=|
|class           =
series=|
class=|
}}
}}
</pre>
</pre>
|}
==Standard Sections==
These are some typical section headers for an article about a published Greyhawk source.
 
You can easily cut and paste them from here and delete the ones you don't use:
<pre>
==Description==
 
==Publication History==
 
==Reception==
 
==Gallery==
 
==References==
====Citations====
<references />
====Bibliography====
 
 
====Zavoda Index Entry====
The [[Encyclopedia Greyhawkania Index]] page has a list of sources, abbreviations, and a link to the full index.
 
==External Links==


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.
[[Category:Canonical sources]] or [[Category:Greyhawk apocrypha]]
[[Category: (place tags like: "Books", "Magazines", or "Greyhawk modules" here, each on a separate line)]]
</pre>


<pre><nowiki>
|fgcolor=#fff
|bgcolor=#000
</nowiki></pre>


[[Category:Greyhawk sources|*]]
[[Category:Greyhawk sources]]
[[Category:Templates|Source]]
[[Category:Canonical sources]]
[[Category:Greyhawk apocrypha]]


</noinclude>
</noinclude>

Revision as of 10:09, 27 January 2019

Greyhawk Source
Source
{{{image}}}
{{{caption}}}

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

Copy and paste the section below at the top of the article, and fill in the information areas. The image and caption parameters are optional, but are preferred.

The recommended image size is a width of 250px so that it will completely fill the infobox without increasing its size.

If any fields are left undefined they will not appear.

Add wiki links by putting a word or phrase inside double brackets, [[like this]], especially to lines like:

  • satellites
  • native inhabitants

Do not add wiki links to alignments.

The "name" is only necessary if it is notably different than the page name. It will be automatically generated if it is not entered.

{{Greyhawk source
|name             =
|image            =
|caption          =
|type             =
|code             =
|edition          =
|author           =
|first published  =
|series           =
|class            =
}}

Standard Sections

These are some typical section headers for an article about a published Greyhawk source.

You can easily cut and paste them from here and delete the ones you don't use:

==Description==

==Publication History==

==Reception==

==Gallery==

==References==
====Citations====
<references />
====Bibliography====


====Zavoda Index Entry====
The [[Encyclopedia Greyhawkania Index]] page has a list of sources, abbreviations, and a link to the full index.

==External Links==

[[Category:Canonical sources]] or [[Category:Greyhawk apocrypha]]
[[Category: (place tags like: "Books", "Magazines", or "Greyhawk modules" here, each on a separate line)]]