Template:Creator: Difference between revisions

From Greyhawk Wiki
Jump to navigation Jump to search
m Adding "|notableworks =" to <pre> text
Complete Template Overhaul
Line 1: Line 1:
{| class="floatright" style=" width:267px; border:1px solid MidnightBlue;"  
<includeonly>{| class="floatright" style="background: white; width:265px; border:1px solid MidnightBlue; padding: 2px;"
|+'''Greyhawk Author'''  
|+'''Greyhawk Author'''
|
<tr>
{| style=" width:265px; border:1px solid MidnightBlue; vertical-align: top; "
    <td colspan="2" style="background:MidnightBlue; line-height: 150%; text-align: center; font-family: Arial Black, Arial, sans-serif; font-size: 1.3em; color: white; font-weight: bold;">{{#if:{{{name|}}} |{{{name}}} |{{PAGENAME}}}}
| colspan="2" style="background:MidnightBlue; line-height: 150%; text-align:center; " | <span style="font-family: Arial Black; font-size: 14pt; color:white">{{{name}}}</span>  
    </td>
|-
</tr>
| colspan="2" style="text-align:center;" | {{{image}}}  
<tr>
|-
    <td colspan="2" style="text-align:center">{{{image|}}}</td>
| colspan="2" style="text-align:center;" | <span style="font-size:8pt">{{{caption}}}</font>  
</tr>
|-
<tr>
| colspan="2" style="background:MidnightBlue; line-height: 1%" |
    <td colspan="2" style="text-align:center; line-height: 1em; font-size:8pt">{{{caption|}}}</td>
|-
</tr>
{{#if:{{{nationality|}}} | '''Nationality:''' }}  || {{#if:{{{nationality|}}} | {{{nationality|}}} }}  
<tr>
|-
    <td colspan="2" style="background:MidnightBlue; line-height: 2px;"></td>
{{#if:{{{born|}}} | '''Born:''' }}  ||  {{#if:{{{born|}}} | {{{born|}}} || {{{birthplace|}}} }}  
</tr>
|-
<td style="font-size:70%">
{{#if:{{{birthplace|}}} | '''Birthplace:''' }}  ||  {{#if:{{{birthplace|}}} | {{{birthplace|}}} }}
{{#if:{{{nationality|}}}|<tr style="font-size:86%; text-align: left; vertical-align: top;">
|-
    <th>'''Nationality:'''</th>
|  {{#if:{{{died|}}} | '''Died:''' }}  ||  {{#if:{{{died|}}} | {{{died|}}} }}  
    <td>{{{nationality|}}}</td>}}
|-
  </tr>
{{#if:{{{first greyhawk work|}}} | '''First Greyhawk Work:''' }}  ||  {{#if:{{{first greyhawk work|}}} | {{{first greyhawk work|}}} }}  
</tr>
|-
{{#if:{{{born|}}}|<tr style="font-size:86%; text-align: left; vertical-align: top;">
{{#if:{{{notableworks|}}} | '''Notable Works:''' }}  ||  {{#if:{{{notableworks|}}} | {{{notableworks|}}} }}  
    <th>'''Born:'''</th>
|-
    <td>{{{born|}}},<br />{{{birthplace|}}}</td> }}
{{#if:{{{alias|}}} | '''Alias(es):''' }} ||  {{#if:{{{alias|}}} | {{{alias|}}} }}  
  </tr>
|-
{{#if:{{{died|}}}|<tr style="font-size:86%; text-align: left; vertical-align: top;">
    <th>'''Died:'''</th>
    <td>{{{died|}}}</td>}}
  </tr>
{{#if:{{{first greyhawk work|}}}|<tr style="font-size:86%; text-align: left; vertical-align: top;">
    <th>'''First Greyhawk Work:'''</th>
    <td>{{{first greyhawk work|}}}</td>}}
  </tr>
{{#if:{{{notableworks|}}}|<tr style="font-size:86%; text-align: left; vertical-align: top;">
    <th>'''Notable Works:'''</th>
    <td>{{{notableworks|}}}</td>}}
  </tr>
{{#if:{{{alias|}}}|<tr style="font-size:86%; text-align: left; vertical-align: top;">
    <th>'''Alias(es):'''</th>
    <td>{{{alias|}}}</td>}}
  </tr>
{{#if:{{{signature|}}}|<tr><td colspan="2" style="background:MidnightBlue; line-height: 2px;"></td>
  </tr>
  <tr>
    <td colspan="2" style="text-align:center">{{{signature|}}}</td>}}
  </tr>
</td>
</table></includeonly><noinclude>
This template is for use in any article about an author (or other creator) who has published material for the ''[[World of Greyhawk]]'' campaign setting.


|}
The image and caption parameters are optional.  If left undefined, parameters will not appear. The recommended image size is a width of 250px so that it will completely fill the infobox without increasing its size.
|}
 
<noinclude>
<!--Sample infobox-->
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.
{{Author
|image                = [[File:RogerMoore GaryConXIV2022.jpg|250px]]
|caption              = Roger Moore attending GaryConXIV (2022).
|name                = Roger E. Moore
|nationality          = United States
|born                = July 11, 1955
|birthplace          = Winchester, Kentucky
|died                =
|first greyhawk work  = "The Dancing Hut" (1984).
|alias                = Rogar of Mooria
|notableworks        = ''[[The Adventure Begins]]'', ''[[Return of the Eight]]''
|signature            = [[File:RogerMoore signature.png|250px]]
}}


==Usage==
==Usage==
Line 35: Line 70:
|<pre>
|<pre>
{{Author
{{Author
|image                =  
|image                = <!-- place file name here -->
|caption              =  
|caption              =  
|name                =  
|name                =  
Line 45: Line 80:
|notableworks        =  
|notableworks        =  
|alias                =  
|alias                =  
|signature            = <!-- place file name here -->
}}</pre>
}}</pre>
|}
 





Revision as of 19:47, 11 April 2022

This template is for use in any article about an author (or other creator) who has published material for the World of Greyhawk campaign setting.

The image and caption parameters are optional. If left undefined, parameters will not appear. The recommended image size is a width of 250px so that it will completely fill the infobox without increasing its size.

Greyhawk Author
Roger E. Moore
Roger Moore attending GaryConXIV (2022).
Nationality: United States
Born: July 11, 1955,
Winchester, Kentucky
First Greyhawk Work: "The Dancing Hut" (1984).
Notable Works: The Adventure Begins, Return of the Eight
Alias(es): Rogar of Mooria

Usage

{{Author
|image                = <!-- place file name here -->
|caption              = 
|name                 = 
|nationality          = 
|born                 = 
|birthplace           = 
|died                 = 
|first greyhawk work  = 
|notableworks         = 
|alias                = 
|signature            = <!-- place file name here -->
}}