Difference between revisions of "Template:Infobox doc"

From dieyoung
 
(8 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
! colspan="2" style="background-color:#e6e6e6; padding:5px;" | {{{name|{{PAGENAME}}}}}
 
! colspan="2" style="background-color:#e6e6e6; padding:5px;" | {{{name|{{PAGENAME}}}}}
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
{{#if: {{{author<includeonly>|</includeonly>}}} | {{!}} '''Author(s)''' {{!!}} {{{author}}} }}
+
{{#if: {{{category<includeonly>|</includeonly>}}} | {{!}} '''Category''' {{!!}} {{{category}}} }}
 +
|- style="vertical-align:top;"
 +
{{#if: {{{location<includeonly>| </includeonly>}}} | {{!}} '''Pages''' {{!!}} {{{pages}}} }}
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
 
{{#if: {{{series<includeonly>|</includeonly>}}} | {{!}} '''Location''' {{!!}} {{{location}}} }}
 
{{#if: {{{series<includeonly>|</includeonly>}}} | {{!}} '''Location''' {{!!}} {{{location}}} }}
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
{{#if: {{{location<includeonly>| </includeonly>}}} | {{!}} '''Pages''' {{!!}} {{{pages}}} }}
+
{{#if: {{{author<includeonly>|</includeonly>}}} | {{!}} '''Author(s)''' {{!!}} {{{author}}} }}
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
 
{{#if: {{{location<includeonly>| </includeonly>}}} | {{!}} '''Date''' {{!!}} {{{date}}} }}
 
{{#if: {{{location<includeonly>| </includeonly>}}} | {{!}} '''Date''' {{!!}} {{{date}}} }}
|- style="vertical-align:top;"
+
|-
 
! colspan="2" style="background-color:#e6e6e6; padding:5px;" | Related Tasks
 
! colspan="2" style="background-color:#e6e6e6; padding:5px;" | Related Tasks
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
| colspan="2" {{!}} {{{related tasks}}}
+
| colspan="2" {{!}} {{#if: {{{related tasks}}} | {{{related tasks}}} | None }}
 
|-
 
|-
 
! colspan="2" style="background-color:#e6e6e6; padding:5px;" | Unlocked Recipes
 
! colspan="2" style="background-color:#e6e6e6; padding:5px;" | Unlocked Recipes
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
| colspan="2" {{!}} {{{unlocked recipes}}}
+
| 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}}}