Difference between revisions of "Template:Source"

From Pearl Language
Jump to navigation Jump to search
(Copy from pareltaal.nl (translated).)
 
m (bron → source)
 
(11 intermediate revisions by the same user not shown)
Line 2: Line 2:
Use {{PAGENAME}} at the bottom of a {{p}} to refer to the original sources and authors. Using this template will automatically tag the page with the appropriate categories.
Use {{PAGENAME}} at the bottom of a {{p}} to refer to the original sources and authors. Using this template will automatically tag the page with the appropriate categories.
<pre>
<pre>
{{bron
{{source
|boek=Titel boek; óf
|boek=Book title; or
|publikatie=Titel publikatie; óf
|publikatie=Publication title; or
|titel=Titel van het boek, artikel.
|title=General title.
|pattern=Oorspronkelijke naam van het (vaak Engelstalige) patroon.
|pattern=Original pattern name.
|nummer=Nummer van de publikatie (optioneel).
|number=Issue number (optional)
|pagina=Paginanummer van boek of publikatie.
|page=Page number in source (optional)
|auteur=Naam van de auteur.
|author=List of authors (comma-separated)
|codeur=Naam van de codeur.
|coder=List of coders (comma-separated)
|vertaler=Naam van de vertaler.
|translator=List of translators (comma-separated)
|web=URL van de bron op het web.
|web=URL van de bron op het web.
}}
}}
Line 17: Line 17:
</noinclude>
</noinclude>
{{ #ifeq: {{{book| }}} |||<includeonly>[[category:{{{book}}}]]</includeonly> }}
{{ #ifeq: {{{book| }}} |||<includeonly>[[category:{{{book}}}]]</includeonly> }}
{{ #ifeq: {{{publication }}} |||<includeonly>[[category:{{{publication}}}]]</includeonly> }}
{{ #ifeq: {{{publication| }}} |||<includeonly>[[category:{{{publication}}}]]</includeonly> }}
{{ #ifeq: {{{source| }}} ||| <includeonly>[[category:{{{source}}}]]</includeonly> }}
{{ #ifeq: {{{source| }}} ||| <includeonly>[[category:{{{source}}}]]</includeonly> }}
{{ #ifeq: {{{author| }}} ||| <includeonly>[[category:{{{author}}}]]</includeonly> }}
{{ #ifeq: {{{coder| }}} ||| <includeonly>[[category:{{{coder}}}]]</includeonly> }}
{{ #ifeq: {{{coder| }}} ||| <includeonly>[[category:{{{coder}}}]]</includeonly> }}
{{ #ifeq: {{{translator| }}} ||| <includeonly>[[category:{{{translator}}}]]</includeonly> }}
{{ #ifeq: {{{translator| }}} ||| <includeonly>[[category:{{{translator}}}]]</includeonly> }}
----
----
{{ #ifeq: {{{book| }}} ||| Source: {{kk|{{{pattern}}}}} {{#ifeq:{{{pattern number| }}}||| ({{{pattern number}}})}} from [[aardnoot:{{{book}}}|{{{book}}}]]{{#ifeq:{{{page| }}}|||, page {{{page}}}}}.}}
{{ #ifeq: {{{book| }}} ||| Source: {{kk|{{{pattern}}}}} {{#ifeq:{{{pattern number| }}}||| ({{{pattern number}}})}} from [[aardnoot:{{{book}}}|{{{book}}}]]{{#ifeq:{{{page| }}}|||, page {{{page}}}}}.}}
{{ #ifeq: {{{publication | }}} ||| Source: [[aardnoot:{{{publication}}}|{{{publication}}}]]{{#ifeq:{{{number| }}}|||&nbsp;{{{number}}}}}{{#ifeq:{{{page| }}}|||, page {{{page}}}.}}}}{{ #ifeq: {{{web| }}} |||Web: [{{{web}}} {{{title}}}]}}
{{ #ifeq: {{{publication | }}} ||| Source: [[aardnoot:{{{publication}}}|{{{publication}}}]]{{#ifeq:{{{number| }}}|||&nbsp;{{{number}}}}}{{#ifeq:{{{page| }}}|||, page {{{page}}}.}}}}{{ #ifeq: {{{web| }}} |||Web: [{{{web}}} {{{title}}} » {{p|{{{pattern}}}}}]}}
{{#arraymap:{{{author|}}}|,|x|[[author::x| ]]|}}
{{#arraymap:{{{author|}}}|,|x|[[author::x| ]]|}}
{{#if:{{{translator|}}}|[[translator::{{{translator}}}|]]}}
{{#if:{{{translator|}}}|[[translator::{{{translator}}}|]]}}
{{#if:{{{book|}}}|[[source::{{{book}}}|]]}}
{{#if:{{{book|}}}|[[source::{{{book}}}|]]}}
{{#if:{{{publication|}}}|[[bron::{{{publication}}}|]]}}
{{#if:{{{publication|}}}|[[source::{{{publication}}}|]]}}
{{#if:{{{source|}}}|[[bron::{{{source}}}|]]}}
{{#if:{{{source|}}}|[[source::{{{source}}}|]]}}
{{#if:{{{author|}}}|{{#arraymap:{{{author|}}}|,|x|[[category:x]]|}}}}
{{#arraymap:{{{theme|}}}|,|x|[[theme::x| ]]|}}

Latest revision as of 13:20, 26 May 2013

Use Source at the bottom of a pearl to refer to the original sources and authors. Using this template will automatically tag the page with the appropriate categories.

{{source
|boek=Book title; or
|publikatie=Publication title; or
|title=General title.
|pattern=Original pattern name.
|number=Issue number (optional)
|page=Page number in source (optional)
|author=List of authors (comma-separated)
|coder=List of coders (comma-separated)
|translator=List of translators (comma-separated)
|web=URL van de bron op het web.
}}