Template:Creator: Difference between revisions

From Greyhawk Wiki
Jump to navigation Jump to search
m Reverted edits by Icarus (talk) to last revision by [[User:cf>Robbastard|cf>Robbastard]]
Tag: Rollback
New Template Format syntax
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:2px solid MidnightBlue; margin-right:15px; "
|+'''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; font-size: larger;" | '''''[[Greyhawk]]'' Author'''
| colspan="2" style="text-align:center;" | {{{image}}}
|-
|-
!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="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}}}
| {{#if:{{{nationality|}}} | ''Nationality:'''  }} 
{{#if:{{{nationality|}}} | {{{nationality|}}} }}  
|-
|-
!colspan=2 style="background-color:{{{bgcolor|#000}}}; line-height: 1%"|  
|  {{#if:{{{born|}}} | ''Born:''  }} 
|  {{#if:{{{born|}}} | {{{born|}}} }}
|-
|-
|'''Nationality''' || {{{nationality|''Unknown''}}}
|  {{#if:{{{birthplace|}}} | ''Birthplace:'' }} 
|  {{#if:{{{brithplace|}}} | {{{birthplace|}}} }}  
|-
|-
|'''Born''' || {{{born|''Unknown''}}}
|  {{#if:{{{died|}}} | ''Died:'' }} 
|  {{#if:{{{died|}}} | {{{died|}}} }}  
|-
|-
|'''Birthplace''' || {{{birthplace|''Unknown''}}}
|  {{#if:{{{first greyhawk work|}}} | ''First Greyhawk Work:'' }} 
|  {{#if:{{{first greyhawk work|}}} | {{{first greyhawk work|}}} }}  
|-
|-
|'''Died''' || {{{died|''Unknown''}}}
|  {{#if:{{{alias|}}} | ''Alias(es):'' }} 
|  {{#if:{{{alias|}}} | {{{alias|}}} }}  
|-
|-
|'''First ''Greyhawk'' work''' || {{{first greyhawk work|''Unknown''}}}
|}
|-
|}
|'''Alias(es)''' || {{{alias|''Unknown''}}}
<noinclude>
|}<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 29: Line 38:
|<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:29, 11 January 2019

Greyhawk Author
{{{name}}}
{{{image}}}
{{{caption}}}

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                =
}}