Template:Clipping: Difference between revisions

From Protoball
Jump to navigation Jump to search
(Template: Clipping fixup)
(default form clipping)
 
(12 intermediate revisions by the same user not shown)
Line 14: Line 14:
|Query=
|Query=
|Submitted by=
|Submitted by=
|Origin=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>{{Clipping Box}}{{#set:Title={{{Title|}}}}}
</noinclude><includeonly>{{#default_form:Clipping}}{{Clipping Box}}{{#set:Title={{{Title|}}}}}
{{Subtitle|{{{Title}}}}}
{| class=stats
{| class=stats
|-
|-
! Date of Game  {{#set:Date={{{Date|}}}|Type of Date={{{Type of Date|}}}}}
! Date {{#set:Date={{{Date|}}}|Type of Date={{{Type of Date|}}}}}
| {{Typed Date|{{{Date|}}}|{{{Type of Date|}}}}}
| {{Typed Date|{{{Date|}}}|{{{Type of Date|}}}}}
|-
|-
Line 28: Line 28:
|- {{#if: {{{Source|}}} || class=hidden }}
|- {{#if: {{{Source|}}} || class=hidden }}
! Source
! Source
| [[Source::{{{Source|}}}]]
| {{{Source|}}}{{#set:Source={{{Source|}}}}}
|- {{#if: {{{Clipping Tags|}}}||class=hidden}}
|- {{#if: {{{Clipping Tags|}}}||class=hidden}}
! Tags
! Tags
| {{#arraymap:{{{Clipping Tags|}}}|,|x|[[Clipping:x|x]]}}<span class="hidden">{{#arraymap:{{{Clipping Tags|}}}|,|x|[[Clipping Tags::x]]}}</span>
| {{#arraymap:{{{Clipping Tags|}}}|,|x|[[Clipping:Tag x|x]]}}<span class="hidden">{{#arraymap:{{{Clipping Tags|}}}|,|x|[[Clipping Tags::x]]}}</span>
|- {{#if: {{{Warning|}}} || class=hidden }}
|- {{#if: {{{Warning|}}} || class=hidden }}
! Warning
! Warning
| [[Warning::{{{Warning|}}}]]
| [[Warning::{{{Warning|}}}]]
|- {{#if: {{{Comment|}}} || class=hidden }}
|-
! Comment
! Comment
| [[Comment::{{{Comment|}}}]]
| [[Comment::{{{Comment|}}}]] {{CommentPrompt|{{{Comment|}}}}}
|- {{#if: {{{Query|}}} || class=hidden }}
|-
! Query
! Query
| [[Query::{{{Query|}}}]]  
| [[Query::{{{Query|}}}]] {{QueryPrompt|{{{Query|}}}}}
|- {{#if: {{{Submitted by|}}} || class=hidden }}
|- {{#if: {{{Submitted by|}}} || class=hidden }}
! Submitted by
! Submitted by
| {{#set:Submitted by={{{Submitted by|}}}}}{{#if:{{{Submitted by|}}}|{{#ifexist:{{{Submitted by|}}}|[[{{{Submitted by|}}}]]|{{{Submitted by|}}}}}
| {{#set:Submitted by={{{Submitted by|}}}}}{{#if:{{{Submitted by|}}}|{{#ifexist:{{{Submitted by|}}}|[[{{{Submitted by|}}}]]|{{{Submitted by|}}}}}
|- {{#if: {{{Origin|}}} || class=hidden }}
! Origin
| {{{Origin|}}}{{#set:Origin={{{Origin|}}}}}
|}
|}
{{Discussion}}
{{Discussion}}
[[Category:Clippings]]
[[Category:Clippings]]
</includeonly>
</includeonly>

Latest revision as of 07:15, 27 June 2020

This is the "Clipping" template. It should be called in the following format:

{{Clipping
|Title=
|Text=
|Source=
|Date=
|Type of Date=Day, Month, Year, Circa, Decade
|Clipping Tags=
|Warning=
|Comment=
|Query=
|Submitted by=
|Origin=
}}

Edit the page to see the template text.