Template:Creator: Difference between revisions

From Greyhawk Wiki
Jump to navigation Jump to search
Adding line to make all authors using template to be added to Category:Author
Fiddling with stuff for the vertical-align syntax; the signature is weird to try to get the if/then syntax to work with it
Line 1: Line 1:
<includeonly>{| class="floatright" style="background: white; width:265px; border:1px solid MidnightBlue; padding: 2px;"
{| class="floatright" style=" width:267px; border:1px solid MidnightBlue;"  
|+'''Greyhawk Author'''
|+'''Greyhawk Plane'''  
<tr>
|
    <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}}}}
{| style=" width:265px; border:1px solid MidnightBlue; "
    </td>
| colspan="2" style="background:MidnightBlue; line-height: 150%; text-align:center; " | <span style="font-family: Arial Black; font-size: 14pt; color:white">{{#if:{{{name|}}} | {{{name|}}} | {{PAGENAME}} }}</span>  
</tr>
|-
<tr>
| colspan="2" style="text-align:center;" | {{{image}}}  
    <td colspan="2" style="text-align:center">{{{image|}}}</td>
|-
</tr>
| colspan="2" style="text-align:center;" | <span style="font-size:8pt">{{{caption}}}</font>  
<tr>
|-
    <td colspan="2" style="text-align:center; line-height: 1em; font-size:8pt">{{{caption|}}}</td>
| colspan="2" style="background:MidnightBlue; line-height: 1%" |
</tr>
|-
<tr>
|- style=" vertical-align: top;"
    <td colspan="2" style="background:MidnightBlue; line-height: 2px;"></td>
| {{#if:{{{alt_spelling|}}} | '''Alternate Spelling:'''  }} || {{#if:{{{alt_spelling|}}} | {{{alt_spelling|}}} }}
</tr>
|-
<td style="font-size:70%">
style=" vertical-align: top;" | {{#if:{{{name|}}} | '''Name:''' }} ||  {{#if:{{{name|}}} | {{{name|}}} }}
{{#if:{{{nationality|}}}|<tr style="font-size:86%; text-align: left; vertical-align: top;">
|-
    <th>'''Nationality:'''</th>
|  style=" vertical-align: top;" | {{#if:{{{nationality|}}} | '''Nationality:'''  }} ||  {{#if:{{{nationality|}}} | {{{nationality|}}} }}
    <td>{{{nationality|}}}</td>}}
|-
  </tr>
style=" vertical-align: top;" | {{#if:{{{born|}}} | '''Born:''' }} ||  {{#if:{{{born|}}} | {{{born|}}} }}  
</tr>
|-
{{#if:{{{born|}}}|<tr style="font-size:86%; text-align: left; vertical-align: top;">
|  style=" vertical-align: top;" | {{#if:{{{birthplace|}}} | '''Birthplace:'''  }} ||  {{#if:{{{birthplace|}}} | {{{birthplace|}}} }}
    <th>'''Born:'''</th>
|-
    <td>{{{born|}}},<br />{{{birthplace|}}}</td> }}
| style=" vertical-align: top;" | {{#if:{{{died|}}} | '''Died:''' }} ||  {{#if:{{{died|}}} | {{{died|}}} }}  
  </tr>
|-
{{#if:{{{died|}}}|<tr style="font-size:86%; text-align: left; vertical-align: top;">
|  style=" vertical-align: top;" | {{#if:{{{first greyhawk work|}}} | '''First Greyhawk Work:''' }} ||  {{#if:{{{first greyhawk work|}}} | {{{first greyhawk work|}}} }}
    <th>'''Died:'''</th>
|-
    <td>{{{died|}}}</td>}}
| style=" vertical-align: top;" | {{#if:{{{notableworks|}}} | '''Notable works: }} ||  {{#if:{{{notableworks|}}} | {{{notableworks|}}} }}
  </tr>
|-
{{#if:{{{first greyhawk work|}}}|<tr style="font-size:86%; text-align: left; vertical-align: top;">
| style=" vertical-align: top;" | {{#if:{{{alias|}}} | '''Alias:''' }} ||  {{#if:{{{alias|}}} | {{{alias|}}} }}  
    <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>
{{#if:{{{signature|}}}|<tr><td colspan="2" style="background:MidnightBlue; line-height: 2px;"></td>
   </tr>
   </tr>
Line 45: Line 35:
     <td colspan="2" style="text-align:center">{{{signature|}}}</td>}}
     <td colspan="2" style="text-align:center">{{{signature|}}}</td>}}
   </tr>
   </tr>
</td>
|}
</table>
|}
[[Category:Authors]]</includeonly><noinclude>
[[Category:Authors]]</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.  
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.  

Revision as of 15:30, 20 February 2023

Greyhawk Plane
Creator
{{{image}}}
{{{caption}}}

</includeonly>

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 Plane
Roger E. Moore
Roger Moore attending GaryConXIV (2022).
Name: Roger E. Moore
Nationality: United States
Born: July 11, 1955
Birthplace: Winchester, Kentucky
First Greyhawk Work: "The Dancing Hut" (1984).
Notable works: The Adventure Begins, Return of the Eight
Alias: 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 -->
}}