Template:5ehid: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(17 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly><div style="width:100%; border: collapse; text-align:right;">{{pagetitle}}<span style="background:#cf9;">[[Dungeons & Dragons|D&D]]</span> <span style="background:#cf9;">[[5e]]</span> [[Hidden]][[Category:5eh]] <span style="background:#fc3; font-size:1.1em;">[[File:Copyright.svg|15px|target=Copyright]]</span>{{Not5eh}} | ||
{{ | </div> | ||
</div> | |||
<div style="float:right; border-style:solid; border-width:1px; border-color:#0000ff; border-radius:0.5em; <!--max-width: 20vw;--> padding:0 0.5em;">'''<span style="font-size: 0.9em;">{{#if: {{{1|}}}|{{pub|{{{1}}}}}|''see Sources below''|}} </span><span class="mw-customtoggle-myDivision"><sup>+</sup></span>''' | <div style="float:right; border-style:solid; border-width:1px; border-color:#0000ff; border-radius:0.5em; <!--max-width: 20vw;--> padding:0 0.5em;">'''<span style="font-size: 0.9em;">{{#if: {{{1|}}}|{{pub|{{{1}}}}}|''see Sources below''|}} </span><span class="mw-customtoggle-myDivision"><sup>+</sup></span>''' | ||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-myDivision"> | <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-myDivision"> | ||
Line 7: | Line 6: | ||
The Unofficial Description and any notes are licensed [[CC-BY-SA]].<br /> | The Unofficial Description and any notes are licensed [[CC-BY-SA]].<br /> | ||
Care should be taken in editing this page.</div> | Care should be taken in editing this page.</div> | ||
<div style="font-size: 0.7em; text-align:right;">[[5e:{{PAGENAME}}| | <div style="font-size: 0.7em; text-align:right;">[[5e:{{PAGENAME}}|Hidden →]]</div> | ||
[[Category:Copyrighted | [[Category:Copyrighted]]{{#if: {{{noncanon|}}}|[[Category:5eh Published Noncanon]]|[[Category:Canon]]}} | ||
</div><!--collapsable--> | </div><!--collapsable--> | ||
</div>{{#if: {{{setting|}}}|<br clear="right" />{{5e Setting|{{{setting}}}}}|}}{{#if: {{{ua|}}}|<br clear="right" /><div style="display:block; float:right; background: MistyRose; border-style: solid; border-width: 2px; border-color: MistyRose; border-radius: 0.5em;">''' {{5ed|Unearthed Arcana}}''' </div>|}} | |||
</div>{{#if: {{{nodb|}}}|<!--skip-->|{{StorePageData | {{#if: {{{nodb|}}}|<!--skip-->|{{StorePageData | ||
|pagetitle={{PAGENAME}} | |pagetitle={{PAGENAME}} | ||
|sources={{#if: {{{1|}}}|{{{1}}}|Varied}} | |||
|sources={{#if: {{{1|}}} | |||
|licenses={{#if: {{{licenses|}}}|{{{licenses}}}|Copyrighted}} | |licenses={{#if: {{{licenses|}}}|{{{licenses}}}|Copyrighted}} | ||
|canon={{#if: {{{noncanon|}}}| | |canon={{#if: {{{noncanon|}}}|<!--skip-->|true|}} | ||
|creationdate= | |creationdate={{#if: {{{1|}}}|{{#cargo_query: | ||
|setting= | table=Publicaiton | ||
|pointer= | |where=_pageName='[[Publication:{{{1}}}]]' | ||
|published=true | |fields=Date_Created | ||
|hidden=true | }}|}} | ||
|ua={{#if: {{{ua|}}}|true}} | |setting={{#if: {{{setting|}}}|{{{setting}}}|}} | ||
|user= | |pointer= | ||
| | |published=true | ||
|hidden=true | |||
|ua={{#if: {{{ua|}}}|true|}} | |||
|user= | |||
|deprecated={{#if: {{{deprecated|}}}|true|}} | |||
}}}}</includeonly><noinclude> | }}}}</includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
Line 33: | Line 35: | ||
===Optional fields=== | ===Optional fields=== | ||
noncanon= | <pre> | ||
ua= | |deprecated= <!--blank, or true--> | ||
|noncanon= <!--blank, or true if not canon. ex. UA articles, [[Kobold Press]])--> | |||
|setting= <!--blank, or setting name--> | |||
|ua= <!--blank, or true if Unearthed Arcana--> | |||
</pre> | |||
produces: | produces: | ||
{{5ehid|foo|nodb=true}} | {{5ehid|foo|nodb=true|ua=true}} | ||
[[Category: | [[Category:5eh Templates]] | ||
[[Category:System Tags]] | [[Category:System Tags]] | ||
</noinclude> | </noinclude> |
Latest revision as of 08:23, 18 March 2021
Usage
This should be placed on pages that are hidden.
Syntax
{{5ehid|source}}
Optional fields
|deprecated= <!--blank, or true--> |noncanon= <!--blank, or true if not canon. ex. UA articles, [[Kobold Press]])--> |setting= <!--blank, or setting name--> |ua= <!--blank, or true if Unearthed Arcana-->
produces:
foo +