Template:Creator: Difference between revisions

From Greyhawk Wiki
Jump to navigation Jump to search
Updating Template to current format
m Reverted edits by Icarus (talk) to last revision by [[User:cf>Robbastard|cf>Robbastard]]
Tag: Rollback
Line 1: Line 1:
{| class="floatright" style=" width:267px; border:2px solid MidnightBlue; margin-right:15px; "
{| class="toccolours" style="float:right; margin:0 0 0.5em 1em; width:21em; clear:right;"
|+'''Greyhawk Author'''
|
{| style=" width:265px; border:1px solid MidnightBlue; vertical-align: top; "
| colspan="2" style="background:MidnightBlue; line-height: 300%; text-align:center; " | <span style="font-family: Arial Black; font-size: 14pt; color:white">{{{name}}}</span>
|-
|-
| colspan="2" style="text-align:center;" | {{{image}}}
|colspan=2 style="text-align:center; font-size: larger;" | '''''[[Greyhawk]]'' Author'''
|-
|-
| colspan="2" style="text-align:center;" | <span style="font-size:8pt">{{{caption}}}</font>
!colspan=2 style="font-size: large; background-color:{{{bgcolor|#000}}}; color:{{{fgcolor|#fff}}}; line-height: 300%; text-align:center" | <font face="Garamond">{{{name}}}
|-
|-
| colspan="2" style="background:MidnightBlue; line-height: 1%" |
|colspan=2 style="text-align:center;" | {{{image}}}
|-
|-
| {{#if:{{{nationality|}}} | ''Nationality:'''  }} 
|colspan=2 style="text-align:center;" | {{{caption}}}
{{#if:{{{nationality|}}} | {{{nationality|}}} }}  
|-
|-
|  {{#if:{{{born|}}} | ''Born:'''  }} 
!colspan=2 style="background-color:{{{bgcolor|#000}}}; line-height: 1%"|  
| {{#if:{{{born|}}} | {{{born|}}} }}
|-
|-
| {{#if:{{{birthplace|}}} | ''Birthplace:''' }} 
|'''Nationality''' || {{{nationality|''Unknown''}}}
|  {{#if:{{{brithplace|}}} | {{{birthplace|}}} }}  
|-
|-
| {{#if:{{{died|}}} | ''Died:''' }} 
|'''Born''' || {{{born|''Unknown''}}}
|  {{#if:{{{died|}}} | {{{died|}}} }}  
|-
|-
| {{#if:{{{first greyhawk work|}}} | ''First Greyhawk Work:''' }} 
|'''Birthplace''' || {{{birthplace|''Unknown''}}}
|  {{#if:{{{first greyhawk work|}}} | {{{first greyhawk work|}}} }}  
|-
|-
| {{#if:{{{alias|}}} | ''Alias(es):''' }} 
|'''Died''' || {{{died|''Unknown''}}}
|  {{#if:{{{alias|}}} | {{{alias|}}} }}  
|-
|-
|}
|'''First ''Greyhawk'' work''' || {{{first greyhawk work|''Unknown''}}}
|}
|-
<noinclude>
|'''Alias(es)''' || {{{alias|''Unknown''}}}
|}<noinclude>
This template is for use in any article about an author of the ''[[World of Greyhawk]]'' campaign setting. The image and caption parameters are optional, if left undefined they will not appear. All other parameters will appear as ''unknown'' by default. The recommended image size is a width of 250px so that it will completely fill the infobox without increasing its size.
This template is for use in any article about an author of the ''[[World of Greyhawk]]'' campaign setting. The image and caption parameters are optional, if left undefined they will not appear. All other parameters will appear as ''unknown'' by default. The recommended image size is a width of 250px so that it will completely fill the infobox without increasing its size.


Line 38: Line 29:
|<pre>
|<pre>
{{Greyhawk Author
{{Greyhawk Author
|image               =
|image=
|caption             =
|caption=
|name                 =
|name=
|nationality         =
|nationality=
|born                 =
|born=
|birthplace           =
|birthplace=
|died                 =
|died=
|first greyhawk work =
|first greyhawk work=
|alias               =
|alias=
}}</pre>
}}</pre>
|}
|}


Two additional optional parameters exist to enable changing of the background and foreground colours in the name part of the infobox, the default is white text on a black background.
<pre><nowiki>
|fgcolor=#fff
|bgcolor=#000
</nowiki></pre>


[[Category:Greyhawk authors|*]]
[[Category:Greyhawk authors|*]]

Revision as of 15:27, 11 January 2019

Greyhawk Author
{{{name}}}
{{{image}}}
{{{caption}}}
Nationality Unknown
Born Unknown
Birthplace Unknown
Died Unknown
First Greyhawk work Unknown
Alias(es) Unknown

This template is for use in any article about an author of the World of Greyhawk campaign setting. The image and caption parameters are optional, if left undefined they will not appear. All other parameters will appear as unknown by default. The recommended image size is a width of 250px so that it will completely fill the infobox without increasing its size.

Usage

{{Greyhawk Author
|image=
|caption=
|name=
|nationality=
|born=
|birthplace=
|died=
|first greyhawk work=
|alias=
}}

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

|fgcolor=#fff
|bgcolor=#000