Template:Publication: Difference between revisions

From Imperial Minerals Wiki
No edit summary
No edit summary
 
(91 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|Author Gender|Origin|Publication Title|Date|Reprint|Form (list)|Genre (list)|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>
{{#template_display:_format=table}}</includeonly>
{| style="border: none;" class="publication"
|-
|<h2>Details</h2>
|
|-
! class="main-details" |
{| class="wikitable"
| class="no-data-{{{Form|}}}" | Form
| class="no-data-{{{Form|}}}" | [[:Category:{{{Form|}}}|{{{Form|}}}]]
|-
| class="no-data-{{{Genre|}}}" | Genre
| class="no-data-{{{Genre|}}}" | [[:Category:{{{Genre|}}}|{{{Genre|}}}]]
|-
| class="no-data-{{{Extract Regime|}}}" | Extract Regime
| 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|}}}]] }}
|-
| class="no-data-{{{Extractive Stage|}}}" | Extractive Stage
| 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|}}}]] }}
|-
| class="no-data-{{{Labour|}}}" | Labour
| class="no-data-{{{Labour|}}}" | [[:Category:{{{Labour|}}}|{{{Labour|}}}]]
|-
| class="no-data-{{{Infrastructure|}}}" | Infrastructure
| class="no-data-{{{Infrastructure|}}}" | [[:Category:{{{Infrastructure|}}}|{{{Infrastructure|}}}]]
|-
| class="no-data-{{{Colonies represented|}}}" | Colonies represented
| class="no-data-{{{Colonies represented|}}}" | {{{Colonies represented|}}}
|-
| class="no-data-{{{Colony Pub.|}}}" | Colony Pub
| class="no-data-{{{Colony Pub.|}}}" | [[:Category:{{{Colony Pub.|}}}|{{{Colony Pub.|}}}]]
|-
| class="no-data-{{{Location|}}}" | Location
| class="no-data-{{{Location|}}}" | {{{Location|}}}
|-
| class="no-data-{{{GPS|}}}" | GPS
| class="no-data-{{{GPS|}}}" | {{{GPS|}}}
|}
! class="side-details" |
{| class="wikitable"
| Author
| {{{Author|}}}
|-
| class="no-data-{{{Author Gender|}}}" | Author Gender
| class="no-data-{{{Author Gender|}}}" | {{{Author Gender|}}}
|-
| class="no-data-{{{Date|}}}" | Date
| class="no-data-{{{Date|}}}" | {{{Date|}}}
|-
| class="no-data-{{{Publication Title|}}}" | Publication
| class="no-data-{{{Publication Title|}}}" | {{{Publication Title|}}}
|}
|}


{{#if: {{{Notes|}}} | <h2>Notes</h2> }}
{{{Notes|}}}


{{#ifeq:{{{Extract Regime}}}
{{#if: {{{Web Link|}}} | <h2>Web Link</h2> }}
| Gold = [[Category:Gold]] [[:Category:Gold|Gold]]
{{#if: {{{Web Link|}}} | <span class="view-pub-link">[{{{Web Link|}}} View Publication]</span> }}
| Copper = [[Category:Copper]][[:Category:Copper|Copper]]
 
| Diamond = [[Category:Diamond]][[:Category:Diamond|Diamond]]
{{#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>
{{#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.