Difference between revisions of "Template:Source"

From Pearl Language
Jump to navigation Jump to search
({{ #ifeq: {{{author| }}} ||| {{#arraymap:{{{author|}}}|,|x|<includeonly> </includeonly>|}} }})
({{#if:{{{author|}}}|{{#arraymap:{{{author|}}}|,|x|<includeonly>author:x</includeonly>|}}}})
Line 19: Line 19:
{{ #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| }}} ||| {{#arraymap:{{{author|}}}|,|x|<includeonly>[[author:x| ]]</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> }}
Line 30: Line 29:
{{#if:{{{publication|}}}|[[bron::{{{publication}}}|]]}}
{{#if:{{{publication|}}}|[[bron::{{{publication}}}|]]}}
{{#if:{{{source|}}}|[[bron::{{{source}}}|]]}}
{{#if:{{{source|}}}|[[bron::{{{source}}}|]]}}
{{#if:{{{author|}}}|{{#arraymap:{{{author|}}}|,|x|<includeonly>[[author:x|x]]</includeonly>|}}}}
{{#arraymap:{{{theme|}}}|,|x|[[theme::x| ]]|}}
{{#arraymap:{{{theme|}}}|,|x|[[theme::x| ]]|}}

Revision as of 12:17, 21 April 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.

{{bron
|boek=Titel boek; óf
|publikatie=Titel publikatie; óf
|titel=Titel van het boek, artikel.
|pattern=Oorspronkelijke naam van het (vaak Engelstalige) patroon.
|nummer=Nummer van de publikatie (optioneel).
|pagina=Paginanummer van boek of publikatie.
|auteur=Naam van de auteur.
|codeur=Naam van de codeur.
|vertaler=Naam van de vertaler.
|web=URL van de bron op het web.
}}