Difference between revisions of "Template:Infobox doc"

From dieyoung
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="infobox wikitable" font-size:85%; width:350px; float:right; clear:right; border: 1px solid gray;" cellpadding="3"
+
__NOTOC__
|- style="text-align:center;"
+
{| class="infobox wikitable floatright" style="margin-left: 10px; font-size:85%; width:350px; clear:right; cellpadding="3"
{{#if: {{{image<includeonly>|</includeonly>}}} | {{!}} colspan="2" style="padding:0;" {{!}} [[{{{image}}}|{{{imagewidth|350}}}px]] }}
+
! colspan="2" style="background-color:#e6e6e6; padding:5px;" | {{{name|{{PAGENAME}}}}}
 +
|- style="vertical-align:top;"
 +
{{#if: {{{category<includeonly>|</includeonly>}}} | {{!}} '''Category''' {{!!}} {{{category}}} }}
 +
|- style="vertical-align:top;"
 +
{{#if: {{{location<includeonly>| </includeonly>}}} | {{!}} '''Pages''' {{!!}} {{{pages}}} }}
 +
|- style="vertical-align:top;"
 +
{{#if: {{{series<includeonly>|</includeonly>}}} | {{!}} '''Location''' {{!!}} {{{location}}} }}
 +
|- style="vertical-align:top;"
 +
{{#if: {{{author<includeonly>|</includeonly>}}} | {{!}} '''Author(s)''' {{!!}} {{{author}}} }}
 +
|- style="vertical-align:top;"
 +
{{#if: {{{location<includeonly>| </includeonly>}}} | {{!}} '''Date''' {{!!}} {{{date}}} }}
 +
|-
 +
! colspan="2" style="background-color:#e6e6e6; padding:5px;" | Related Tasks
 +
|- style="vertical-align:top;"
 +
| colspan="2" {{!}} {{#if: {{{related tasks}}} | {{{related tasks}}} | None }}
 +
|-
 +
! colspan="2" style="background-color:#e6e6e6; padding:5px;" | Unlocked Recipes
 +
|- style="vertical-align:top;"
 +
| colspan="2" {{!}} {{#if: {{{unlocked recipes}}} | {{{unlocked recipes}}} | None }}
 
|}
 
|}
  
 
{{#ifeq: {{PAGENAME}} | Infobox docs | [[Category: Infoboxes]] | [[Category: Documents]] }}
 
{{#ifeq: {{PAGENAME}} | Infobox docs | [[Category: Infoboxes]] | [[Category: Documents]] }}

Latest revision as of 22:12, 9 July 2020

Infobox doc
Category {{{category}}}
Pages {{{pages}}}
Location {{{location}}}
Author(s) {{{author}}}
Date {{{date}}}
Related Tasks
{{{related tasks}}}
Unlocked Recipes
{{{unlocked recipes}}}