Template:5epointer: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
{{#cargo_attach:
{{#cargo_attach:
_table = Page_Info
_table = Pages_Info
}}
}}
</noinclude><includeonly>{{pagetitle}}<div style="width:100%; border: collapse; text-align:right;">
</noinclude><includeonly>{{pagetitle}}<div style="width:100%; border: collapse; text-align:right;">
{{5e}} [[Pointer]][[Category:5e Pointers]] <span style="background:#fc3; font-size:1.1em;">[[File:Copyright.svg|15px|target=Copyright]][[File:Fair use logo.svg|15px|target=Fair Use]]</span>
{{5e}} [[Pointer]][[Category:5e]][[Category:5e Pointers]] <span style="background:#fc3; font-size:1.1em;">{{#if: {{{license|}}}|[[{{{license}}}]][[Category:{{{license}}}]]|[[File:Copyright.svg|15px|target=Copyright]][[File:Fair use logo.svg|15px|target=Fair Use]][[Category:Fair Use]]}}</span>
</div>[[Category:Fair Use]][[Category:5e]]
</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><br />5e Pointer&nbsp;&nbsp;<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><br />5e Pointer&nbsp;&nbsp;<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 16: Line 16:
</div><!--collapsable-->
</div><!--collapsable-->
</div>{{#cargo_store:
</div>{{#cargo_store:
_table = Page_Info
_table = Pages_Info
|Page_Name = _pageName
|Page_Name = _pageName
|Page_Title = {{PAGENAME}}
|Page_Title = {{PAGENAME}}
Line 23: Line 23:
|Setting =  
|Setting =  
|Sources = {{#if: {{{1|}}}|{{pub|{{{1}}}}}|}}
|Sources = {{#if: {{{1|}}}|{{pub|{{{1}}}}}|}}
|Licenses = {{#if: {{{license|}}}|[[{{{license}}}]]|[[Fair Use]]|}}
|Canon = {{#if: {{{noncanon|}}}|Null|1|}}
|Canon = {{#if: {{{noncanon|}}}|Null|1|}}
|Pointer = 1
|Pointer = 1
|UA = {{#if: {{{ua|}}}|1}}
|UA = {{#if: {{{ua|}}}|1}}
}}</includeonly><noinclude>
}}
</includeonly><noinclude>
==Usage==
==Usage==
This should be placed on pages that are [[pointer]]s.
This should be placed on pages that are [[pointer]]s.
Line 34: Line 36:


===Optional fields===
===Optional fields===
noncanon= (true if not canon. ex. UA articles, [[Kobold Press]])
|license= (blank for [[CC-BY-SA]], OGL, etc. otherwise)
ua= (true if Unearthed Arcana)
|noncanon= (blank, true if not canon. ex. UA articles, [[Kobold Press]])
|ua= (blank, true if Unearthed Arcana)


produces:
produces:

Revision as of 20:49, 19 February 2020

This template adds rows to the table "Pages_Info", which is declared by the template Pagestart. View table.

Usage

This should be placed on pages that are pointers.

Syntax

{{5epointer|source}}

Optional fields

|license= (blank for CC-BY-SA, OGL, etc. otherwise) |noncanon= (blank, true if not canon. ex. UA articles, Kobold Press) |ua= (blank, true if Unearthed Arcana)

produces:


D&D 5e (2014) Pointer target=Copyrighttarget=Fair Use

foo
5e Pointer  +
A pointer is a short summary that points to published material.

This material is posted under the fair use clause of copyright law.
The Unofficial Description and any notes are licensed CC-BY-SA.

Caution should be taken in editing this page.