Template:5epointer: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{pagetitle}}<div style="display:block; width:100%; border: collapse; text-align:right;"> | <includeonly>{{pagetitle}}<div style="display:block; width:100%; border: collapse; text-align:right;"> | ||
{{5e}} [[Pointer]][[Category:5e]][[Category:5e Pointers]] <span style="background:#fc3; font-size:1.1em;">{{#if: {{{license|}}}|[[{{{license}}}]][[Category:{{{license}}}]]|{{copyright}}{{fairuseicon}}|}}</span> | {{5e}} [[Pointer]][[Category:5e]][[Category:5e Pointers]] <span style="background:#fc3; font-size:1.1em;">{{#if: {{{license|}}}|[[{{{license}}}]][[Category:{{{license}}}]]|{{copyright}}{{fairuseicon}}|}}</span> <span style="font-size: 0.8em; text-align:right;">[[gmw:5e:{{PAGENAME}}|ʰ]]</span> </div> | ||
<div style="display:block; float:right; border-style:solid; border-width:1px; border-color:#0000ff; border-radius:0.5em; < | <div style="display:block; float:right; border-style:solid; border-width:1px; border-color:#0000ff; border-radius:0.5em; padding:0 0.5em;">'''5e Pointer''' <span class="mw-customtoggle-myDivision-5epointer" style="display:inline; float:right;"> <sup>+</sup> </span>'''<br /><span style="font-size: 0.9em;">{{#if: {{{1|}}}|{{pub|{{{1}}}}}|''see Sources below''|}}</span>{{#if: {{{sources|}}}|<br /><span style="font-size:0.6em;">'''{{Source Array|{{{sources}}}}}'''</span>|}}<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-myDivision-5epointer"> | ||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-myDivision-5epointer"> | |||
<div style="font-size: 0.7em;">A pointer is a short summary that points to published material.<br /> | <div style="font-size: 0.7em;">A pointer is a short summary that points to published material.<br /> | ||
This material is posted under the fair use clause of copyright law.<br /> | This material is posted under the fair use clause of copyright law.<br /> | ||
Line 8: | Line 7: | ||
[[Pointer#Creation and Edition|Caution]] should be taken in editing this page.</div>[[Category:Copyrighted]][[Category:5e]]{{#if: {{{noncanon|}}}|[[Category:5e Published Noncanon]]|[[Category:Canon]]}}[[Category:Fair Use]][[Category:5e Pointers]] | [[Pointer#Creation and Edition|Caution]] should be taken in editing this page.</div>[[Category:Copyrighted]][[Category:5e]]{{#if: {{{noncanon|}}}|[[Category:5e Published Noncanon]]|[[Category:Canon]]}}[[Category:Fair Use]][[Category:5e Pointers]] | ||
</div><!--collapsable--> | </div><!--collapsable--> | ||
</div>{{#if: {{{setting|}}}|<br clear="right" /><div>{{5e Setting|{{{setting}}}}}</div>|}}{{#if: {{{ua|}}}|<br clear="right" /><div style="display:block; float:right; background: | </div>{{#if: {{{setting|}}}|<br clear="right" /><div>{{5e Setting|{{{setting}}}}}</div>|}}{{#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>|}}{{#if: {{{noncanon|}}}|<br clear="right" /><div style="display:block; float:right; background: silver; border-style: solid; border-width: 2px; border-color: firebrick; border-radius: 0.5em;">''' [[Noncanon]] ''' </div>|}}{{#if: {{{nodb|}}}|<!--skip-->|{{StorePageData | ||
|pagetitle={{PAGENAME}} | |pagetitle={{PAGENAME}} | ||
|sources={{#if: {{{1|}}}|{{{1}}}|}} | |sources={{#if: {{{1|}}}|{{{1}}}|Varied|}}{{#if: {{{sources|}}}|, {{{sources}}}|}} | ||
|licenses={{#if: {{{license|}}}|[[{{{license}}}]]|Fair Use|}} | |licenses={{#if: {{{license|}}}|[[{{{license}}}]]|Fair Use|}} | ||
|creationdate= | |creationdate= | ||
Line 18: | Line 17: | ||
|published=true<!--blank, true if published--> | |published=true<!--blank, true if published--> | ||
|hidden=<!--blank, true if hidden--> | |hidden=<!--blank, true if hidden--> | ||
|deprecated={{{deprecated|}}}<!--blank, true if deprecated--> | |||
|ua={{{ua|}}}<!--blank, true if hidden--> | |ua={{{ua|}}}<!--blank, true if hidden--> | ||
|user=<!--blank, true if user creation--> | |user=<!--blank, true if user creation--> | ||
|categories=<!-- NOT CURRENTLY USED list of categories--> | |categories=<!-- NOT CURRENTLY USED list of categories--> | ||
}}}}</includeonly><noinclude> | }}}}</includeonly><noinclude>{{tocright}} | ||
==Usage== | ==Usage== | ||
This should be placed on pages that are [[pointer]]s. | This should be placed on pages that are [[pointer]]s. | ||
Line 30: | Line 30: | ||
===Optional fields=== | ===Optional fields=== | ||
<pre> | <pre> | ||
|deprecated= <!--blank, true if deprecated--> | |||
|license= (blank for [[Fair Use]], OGL, etc.) | |license= (blank for [[Fair Use]], OGL, etc.) | ||
|noncanon= (blank, true if not canon. ex. UA articles, [[Kobold Press]]) | |noncanon= (blank, true if not canon. ex. UA articles, [[Kobold Press]]) | ||
|ua= (blank, true if Unearthed Arcana) | |ua= (blank, true if Unearthed Arcana) | ||
|setting= <!--blank, or setting name--> | |setting= <!--blank, or setting name--> | ||
|sources= <!--only if source is 'Varied', list sources--> | |||
</pre> | </pre> | ||
==Examples== | |||
<pre> | |||
{{5epointer|Foo's Guide to Nothing}} | |||
{{5epointer|Varied|sources=FGtN, BToA}} | |||
</pre> | |||
===Produces=== | |||
{{5epointer|Foo's Guide to Nothing|nodb=true}}<br clear="right" /> | |||
{{5epointer|Varied|sources=FGtN, BToA|nodb=true}} | |||
[[Category:5e Templates]] | [[Category:5e Templates]] |
Latest revision as of 18:22, 16 February 2023
Usage
This should be placed on pages that are pointers.
Syntax
{{5epointer|source}}
Optional fields
|deprecated= <!--blank, true if deprecated--> |license= (blank for [[Fair Use]], OGL, etc.) |noncanon= (blank, true if not canon. ex. UA articles, [[Kobold Press]]) |ua= (blank, true if Unearthed Arcana) |setting= <!--blank, or setting name--> |sources= <!--only if source is 'Varied', list sources-->
Examples
{{5epointer|Foo's Guide to Nothing}} {{5epointer|Varied|sources=FGtN, BToA}}
Produces