Template:Publication: Difference between revisions

From Imperial Minerals Wiki
No edit summary
No edit summary
 
(100 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- Template:Publication -->
<!-- Template:Publication --><noinclude><!-- Template:Publication -->
<noinclude>
{{#template_params:
{{#template_params:Author|Publication Title|Date|Form|Genre|Extract Regime (list)|Extractive Stage (list)|Labour (list)|Colonies represented (list)|Colony Pub.|Location}}
|Author
|Author Gender
|Origin
|Nationality
|Date
|Publication Title
|Reprint
|Form
|Form 2
|Form 3
|Genre
|Genre 2
|Genre 3
|Genre 4
|Extract Regime  
|Extract Regime 2
|Extract Regime 3
|Extractive Stage
|Extractive Stage 2
|Extractive Stage 3
|Extractive Stage 4
|Labour
|Labour 2
|Labour 3
|Infrastructure
|Infrastructure 2
|Infrastructure 3
|Colonies represented
|Colonies represented 2
|Colonies represented 3
|Colonies represented 4
|Colony Pub.
|Colony Pub. 2
|Colony Pub. 3
|Location
|GPS
|GPS (from spreadsheet)
|Web Link
|Chapters Continued
|Notes
}}
</noinclude><includeonly>
</noinclude><includeonly>
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
{| style="border: none;" class="publication"
 
|-
{{{for template|Publication|label=Publication}}}
|<h2>Details</h2>
{| class="formtable"
|
! Author:
| {{{field|Author|input type=pagename}}}
|-
|-
! Publication Title:  
! class="main-details" |
| {{{field|Publication Title}}}
{| class="wikitable"
| class="no-data-{{{Form|}}}" | Form
| class="no-data-{{{Form|}}}" | [[:Category:{{{Form|}}}|{{{Form|}}}]]
|-
|-
! Date:
| class="no-data-{{{Genre|}}}" | Genre
| {{{field|Date|input type=date}}}
| class="no-data-{{{Genre|}}}" | [[:Category:{{{Genre|}}}|{{{Genre|}}}]]
|-
|-
! Form:  
| class="no-data-{{{Extract Regime|}}}" | Extract Regime
| {{{field|Form|input type=combobox}}}
| class="no-data-{{{Extract Regime|}}}" |
{{#if: {{{Extract Regime|}}} | [[:Category:{{{Extract Regime|}}}|{{{Extract Regime|}}}]] }} {{#if: {{{Extract Regime 2|}}} | [[:Category:{{{Extract Regime 2|}}}|{{{Extract Regime 2|}}}]] }} {{#if: {{{Extract Regime 3|}}} | [[:Category:{{{Extract Regime 3|}}}|{{{Extract Regime 3|}}}]] }} {{#if: {{{Extract Regime 4|}}} | [[:Category:{{{Extract Regime 4|}}}|{{{Extract Regime 4|}}}]] }}
|-
|-
! Genre:
| class="no-data-{{{Extractive Stage|}}}" | Extractive Stage
| {{{field|Genre|input type=combobox|values=Category:Elegy, Category:Melodrama, Category:Romance, Category:Adventure, Category:Pastoral, Category:Crime, Category:Lyric, Category:Satire, Category:Allegory, Category:Gothic, Category:Christmas, Category:Fairytale, Category:Mystery, Category:Travelogue, Category:Memoir}}}
| class="no-data-{{{Extractive Stage|}}}" | [[:Category:{{{Extractive Stage|}}}|{{{Extractive Stage|}}}]] {{#if: {{{Extractive Stage 2|}}} | [[Category:{{{Extractive Stage 2|}}}]] }} {{#if: {{{Extractive Stage 3|}}} | [[Category:{{{Extractive Stage 3|}}}]] }}
|-
|-
! Extract Regime:  
| class="no-data-{{{Labour|}}}" | Labour
| {{{field|Extract Regime}}}
| class="no-data-{{{Labour|}}}" | [[:Category:{{{Labour|}}}|{{{Labour|}}}]]
|-
|-
! Extractive Stage:  
| class="no-data-{{{Infrastructure|}}}" | Infrastructure
| {{{field|Extractive Stage}}}
| class="no-data-{{{Infrastructure|}}}" | [[:Category:{{{Infrastructure|}}}|{{{Infrastructure|}}}]]
|-
|-
! Labour:
| class="no-data-{{{Colonies represented|}}}" | Colonies represented
| {{{field|Labour}}}
| class="no-data-{{{Colonies represented|}}}" | {{{Colonies represented|}}}
|-
|-
! Colonies represented:  
| class="no-data-{{{Colony Pub.|}}}" | Colony Pub
| {{{field|Colonies represented}}}
| class="no-data-{{{Colony Pub.|}}}" | [[:Category:{{{Colony Pub.|}}}|{{{Colony Pub.|}}}]]
|-
|-
! Colony Pub.:
| class="no-data-{{{Location|}}}" | Location
| {{{field|Colony Pub.}}}
| class="no-data-{{{Location|}}}" | {{{Location|}}}
|-
|-
! Location:
| class="no-data-{{{GPS|}}}" | GPS
| {{{field|Location|input type=googlemaps}}}
| class="no-data-{{{GPS|}}}" | {{{GPS|}}}
|}
|}
 
! class="side-details" |
 
{| class="wikitable"
<!-- Second table for additional information -->
| Author
{| class="formtable"
| {{{Author|}}}
! Additional Information
|-
|-
! Extract Regime (list):
| class="no-data-{{{Author Gender|}}}" | Author Gender
| {{{field|Extract Regime (list)}}}
| class="no-data-{{{Author Gender|}}}" | {{{Author Gender|}}}
|-
|-
! Extractive Stage (list):
| class="no-data-{{{Date|}}}" | Date
| {{{field|Extractive Stage (list)}}}
| class="no-data-{{{Date|}}}" | {{{Date|}}}
|-
|-
! Labour (list):
| class="no-data-{{{Publication Title|}}}" | Publication
| {{{field|Labour (list)}}}
| class="no-data-{{{Publication Title|}}}" | {{{Publication Title|}}}
|-
|}
! Colonies represented (list):
| {{{field|Colonies represented (list)}}}
|}
|}
{{#if: {{{Notes|}}} | <h2>Notes</h2> }}
{{{Notes|}}}
{{#if: {{{Web Link|}}} | <h2>Web Link</h2> }}
{{#if: {{{Web Link|}}} | <span class="view-pub-link">[{{{Web Link|}}} View Publication]</span> }}
{{#if: {{{Index|}}} | <h2>Index</h2> }}
{{#if: {{{Chapters Continued|}}} | {{{Chapters Continued|}}} }}<span class="no-data-{{{Extract Regime|}}}">[[Category:{{{Extract Regime|}}}]]</span><span class="no-data-{{{Extract Regime 2|}}}">[[Category:{{{Extract Regime 2|}}}]]</span><span class="no-data-{{{Extract Regime 3|}}}">[[Category:{{{Extract Regime 3|}}}]]</span><span class="no-data-{{{Extractive Stage 2|}}}">[[Category:{{{Extractive Stage 2|}}}]]</span><span class="no-data-{{{Extractive Stage 3|}}}">[[Category:{{{Extractive Stage 3|}}}]]</span><span class="no-data-{{{Extractive Stage|}}}">[[Category:{{{Extractive Stage|}}}]]</span>
{{#if: {{{Extractive Stage 4|}}} | [[Category:{{{Extractive Stage 4|}}}]] }}<span class="no-data-{{{Genre|}}}">[[Category:{{{Genre|}}}]]</span><span class="no-data-{{{Genre 2|}}}">[[Category:{{{Genre 2|}}}]]</span><span class="no-data-{{{Genre 3|}}}">[[Category:{{{Genre 3|}}}]]</span><span class="no-data-{{{Genre 4|}}}">[[Category:{{{Genre 4|}}}]]</span><span class="no-data-{{{Form|}}}">[[Category:{{{Form|}}}]]</span><span class="no-data-{{{Form 2|}}}">[[Category:{{{Form 2|}}}]]</span><span class="no-data-{{{Form 3|}}}">[[Category:{{{Form 3|}}}]]</span><span class="no-data-{{{Infrastructure|}}}">[[Category:{{{Infrastructure|}}}]]</span><span class="no-data-{{{Infrastructure 2|}}}">[[Category:{{{Infrastructure 2|}}}]]</span><span class="no-data-{{{Infrastructure 3|}}}">[[Category:{{{Infrastructure 3|}}}]]</span><span class="no-data-{{{Colony Pub.|}}}">[[Category:{{{Colony Pub.|}}}]]</span><span class="no-data-{{{Colony Pub. 2|}}}">[[Category:{{{Colony Pub. 2|}}}]]</span><span class="no-data-{{{Colony Pub. 3|}}}">[[Category:{{{Colony Pub. 3|}}}]]</span><span class="no-data-{{{Colony Pub. 4|}}}">[[Category:{{{Colony Pub. 4|}}}]]</span><span class="no-data-{{{Labour|}}}">[[Category:{{{Labour|}}}]]</span><span class="no-data-{{{Labour 2|}}}">[[Category:{{{Labour 2|}}}]]</span><span class="no-data-{{{Labour 3|}}}">[[Category:{{{Labour 3|}}}]]</span>
{{#if: {{{GPS|}}} | <span data-src="{{{GPS|}}}" id="map" style="height: 400px;display: block;" class="{{{GPS|}}}"></span> }}
</includeonly>
</includeonly>
{{#default_form:Publication}}
[[Category:Publication]]

Latest revision as of 09:08, 19 March 2024

This is the "Publication" template.

It should be called in the following format:

{{Publication
|Author=
|Author Gender=
|Origin=
|Nationality=
|Date=
|Publication Title=
|Reprint=
|Form=
|Form 2=
|Form 3=
|Genre=
|Genre 2=
|Genre 3=
|Genre 4=
|Extract Regime=
|Extract Regime 2=
|Extract Regime 3=
|Extractive Stage=
|Extractive Stage 2=
|Extractive Stage 3=
|Extractive Stage 4=
|Labour=
|Labour 2=
|Labour 3=
|Infrastructure=
|Infrastructure 2=
|Infrastructure 3=
|Colonies represented=
|Colonies represented 2=
|Colonies represented 3=
|Colonies represented 4=
|Colony Pub.=
|Colony Pub. 2=
|Colony Pub. 3=
|Location=
|GPS=
|Web Link=
|Chapters Continued=
|Notes=
}}

Edit the page to see the template text.