Template:Source: Difference between revisions

From Protoball
Jump to navigation Jump to search
No edit summary
({{#default_form:Source}})
 
(34 intermediate revisions by the same user not shown)
Line 14: Line 14:
|Issue=
|Issue=
|Pages=
|Pages=
|Is in library=
|Is in main bibliography=
|ISBN=
|ISBN=
|Url=
|Additional Information=
|Additional Information=
|Game=
|Digger=
|Society=
|Source Tags=
|City=
|State=
|Country=
|Coordinates=
|Comment=
|Query=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>{| class="wikitable"
</noinclude><includeonly>{{#default_form:Source}}{{Bibliography Box}}{{#set:Title={{{Title|}}}|Country={{{Country|}}}|State={{{State|}}}|City={{{City|}}}|Coordinates={{{Coordinates|}}}}}
! Title
{| class=stats
| [[Title::{{{Title|}}}]]
|-
! Author
! Author
| [[Author::{{{Author|}}}]]
| [[Author::{{{Author|}}}]]
{{#if: {{{Year of Publication|}}} |  
|- {{#if: {{{Year of Publication|}}} || class=hidden }}
{{!}}-
! Year of Publication
! Year of Publication
{{!}} [[Year of Publication::{{{Year of Publication|}}}]] }}
| [[Year of Publication::{{{Year of Publication|}}}]]
{{#if: {{{Publisher|}}} |  
|- {{#if: {{{Publisher|}}} || class=hidden }}
{{!}}-
! Publisher
! Publisher
{{!}} [[Publisher::{{{Publisher|}}}]] }}
| [[Publisher::{{{Publisher|}}}]]
{{#if: {{{Place Published|}}} |  
|- {{#if: {{{Place Published|}}} || class=hidden }}
{{!}}-
! Place Published
! Place Published
{{!}} [[Place Published::{{{Place Published|}}}]] }}
| [[Place Published::{{{Place Published|}}}]]
{{#if: {{{Book|}}} |  
|- {{#if: {{{Book|}}} || class=hidden }}
{{!}}-
! Book
! Book
{{!}} [[Book::{{{Book|}}}]] }}
| [[Book::{{{Book|}}}]]
{{#if: {{{Journal|}}} |  
|- {{#if: {{{Journal|}}} || class=hidden }}
{{!}}-
! {{#if: {{{Journal|}}} | Journal }}
! Journal
| [[Journal::{{{Journal|}}}]]
{{!}} [[Journal::{{{Journal|}}}]] }}
|- {{#if: {{{Volume|}}} || class=hidden }}
{{#if: {{{Volume|}}} |  
{{!}}-
! Volume
! Volume
{{!}} [[Volume::{{{Volume|}}}]] }}
| [[Volume::{{{Volume|}}}]]
{{#if: {{{Issue|}}} |  
|- {{#if: {{{Issue|}}} || class=hidden }}
{{!}}-
! Issue
! Issue
{{!}} [[Issue::{{{Issue|}}}]] }}
| [[Issue::{{{Issue|}}}]]
{{#if: {{{Pages|}}} |  
|- {{#if: {{{Pages|}}} || class=hidden }}
{{!}}-
! Pages
! Pages
{{!}} [[Pages::{{{Pages|}}}]] }}
| [[Pages::{{{Pages|}}}]]
{{#if: {{{ISBN|}}} |  
|- {{#if: {{{Is in library|}}} || class=hidden }}
{{!}}-
! Is in library
| [[Is in library::{{{Is in library|}}}]]
|- {{#if: {{{Is in main bibliography|}}} || class=hidden }}
! Is in main bibliography
| [[Is in main bibliography::{{{Is in main bibliography|}}}]]
|- {{#if: {{{ISBN|}}} || class=hidden }}
! ISBN
! ISBN
{{!}} [[ISBN::{{{ISBN|}}}]] }}
| [[ISBN::{{{ISBN|}}}]]
{{#if: {{{Additional Information|}}} |  
|- {{#if: {{{Url|}}} || class=hidden }}
{{!}}-
! Online Url
| [[Url::{{{Url|}}}]]
|- {{#if: {{{Additional Information|}}} || class=hidden }}
! Additional Information
! Additional Information
{{!}} [[Additional Information::{{{Additional Information|}}}]] }}
| [[Additional Information::{{{Additional Information|}}}]]
|- {{#if: {{{Game|}}} || class=hidden }}
! Game
| {{#arraymap:{{{Game|}}}|,|x|[[Game::x]]}}
|- {{#if: {{{Source Tags|}}} || class=hidden }}
! Tags
| {{#arraymap:{{{Source Tags|}}}|,|x|[[Source Tags::x]]}}
|- {{#if: {{{Digger|}}} || class=hidden }}
! Digger
| {{#arraymap:{{{Digger|}}}|,|x|[[Digger::x]]}}
|- {{#if: {{{Society|}}} || class=hidden }}
! Local-Origins Study Groups
| {{#arraymap:{{{Society|}}}|,|x|[[Society::x]]}}
|- {{#if: {{{Country|}}} || class=hidden }}
! Location
| {{#if: {{{City|}}}|[[{{{City}}}{{#if: {{{State|}}}|, {{{State}}}}}{{#ifeq:{{{Country|}}}|United States||, {{{Country}}}}}|{{{City}}}]],}} {{#if: {{{State|}}}|[[{{{State}}}{{#ifeq: {{{Country}}}|United States||, {{{Country}}}}}|{{{State}}}]],}} [[{{{Country}}}]]
|- {{#if: {{{Country|}}} || class=hidden }}
! Map
| <div class="field_me" data-name="[Coordinates]" data-value="{{{Coordinates}}}"></div><div id="map" class="map_picker" style="height:300px; width:300px"></div>
|-
! Comment
| [[Comment::{{{Comment|}}}]] {{CommentPrompt|{{{Comment|}}}}}
|-
! Query
| [[Query::{{{Query|}}}]] {{QueryPrompt|{{{Query|}}}}}
|}
|}



Latest revision as of 19:14, 5 June 2020

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

{{Source
|Title=
|Author=
|Year of Publication=
|Publisher=
|Place Published=
|Book=
|Journal=
|Volume=
|Issue=
|Pages=
|Is in library=
|Is in main bibliography=
|ISBN=
|Url=
|Additional Information=
|Game=
|Digger=
|Society=
|Source Tags=
|City=
|State=
|Country=
|Coordinates=
|Comment=
|Query=
}}

Edit the page to see the template text.