Template:cite pu: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
(20 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{short|}}} |
|||
<includeonly>[[jan Sonja|Lang, Sonja]] (2014). ''[[Toki Pona: The Language of Good]]''. ''Tawhid''.{{#if:{{{page|{{{1|}}}}}}|<nowiki/> p. {{{page|{{{1}}}}}}}}</includeonly><noinclude> |
|||
|{{pu}}{{#switch:{{{2|}}}|fr|de|eo=<nowiki /> ({{ISO|{{{2}}}}})}}{{#if:{{{page|{{{1|}}}}}}|, {{pp|{{{page|{{{1}}}}}}}}}}. |
|||
| |
|||
{{cite book |
|||
|author=[[jan Sonja|Lang, Sonja]] |
|||
|date={{#switch:{{{2|}}} |
|||
|#default=25 May 2014 |
|||
|fr=24 April 2016 |
|||
|de=1 December 2021 |
|||
|eo=1 October 2022 |
|||
}} |
|||
|title={{pu|{{{2|en}}}}} |
|||
|language={{{2|}}} |
|||
|translator={{#switch:{{{2|}}} |
|||
|#default=<!--N/A--> |
|||
|fr=Sonja Lang |
|||
|de=[[jan Juli|Julius Strake]] |
|||
|eo=[[jan Pensa|Spencer van der Meulen]] |
|||
}} |
|||
|publisher={{#switch:{{{2|}}} |
|||
|#default|fr=Tawhid |
|||
|de|eo=<!--Self-published--> |
|||
}} |
|||
|isbn={{#switch:{{{2|}}} |
|||
|#default=978-0978292300 |
|||
|fr=978-0-9782923-5-5 |
|||
|de=979-8-7707-5525-1 |
|||
|eo=978-94-6437-609-8 |
|||
}} |
|||
|oclc={{#switch:{{{2|}}} |
|||
|#default=921253340 |
|||
|fr|de|eo=<!--N/A--> |
|||
}} |
|||
|page={{{page|{{{1|}}}}}} |
|||
|quote={{{quote|}}} |
|||
|trans-quote={{{trans-quote|}}} |
|||
}} |
|||
}}</includeonly><noinclude>{{tp title|pu}} |
|||
{|class="wikitable" style="background:transparent;border:0 none transparent;" |
|||
!<nowiki>{{{2}}}</nowiki> |
|||
!Citation |
|||
|- |
|||
|{{N/A}} |
|||
|{{cite pu}} |
|||
|- |
|||
|style="text-align:center;"|<code>fr</code> |
|||
|{{cite pu||fr}} |
|||
|- |
|||
|style="text-align:center;"|<code>de</code> |
|||
|{{cite pu||de}} |
|||
|- |
|||
|style="text-align:center;"|<code>eo</code> |
|||
|{{cite pu||eo}} |
|||
|- |
|||
|colspan="2" style="border:0 none transparent;"| |
|||
|- |
|||
!<nowiki>{{{short}}}</nowiki> |
|||
!Citation |
|||
|- |
|||
|{{yes|yes}} |
|||
|{{cite pu|short=yes}} |
|||
|} |
|||
==Documentation== |
==Documentation== |
||
===Examples=== |
|||
{| class="wikitable" |
|||
{|class="wikitable" |
|||
! style="width:50%;"|Code |
|||
! |
!style="width:50%;"|Code |
||
!style="width:50%;"|Result |
|||
|- |
|- |
||
| |
| |
||
Line 19: | Line 83: | ||
| |
| |
||
Lorem ipsum.<ref>{{cite pu|20}}</ref> |
Lorem ipsum.<ref>{{cite pu|20}}</ref> |
||
<references /> |
|||
|- |
|||
| |
|||
<syntaxhighlight lang="xml"> |
|||
Lorem ipsum.<ref>{{cite pu|20|quote=An adjective is a word that describes a noun.}}</ref> |
|||
</syntaxhighlight> |
|||
| |
|||
Lorem ipsum.<ref>{{cite pu|20|quote=An adjective is a word that describes a noun.}}</ref> |
|||
<references /> |
|||
|- |
|||
| |
|||
<syntaxhighlight lang="xml"> |
|||
Lorem ipsum.<ref>{{cite pu|20|short=yes}}<ref> |
|||
</syntaxhighlight> |
|||
| |
|||
Lorem ipsum.<ref>{{cite pu|20|short=yes}}</ref> |
|||
<references /> |
|||
|- |
|||
!colspan="2"| |
|||
|- |
|||
| |
|||
<syntaxhighlight lang="xml"> |
|||
Lorem ipsum.<ref>{{cite pu||fr}}</ref> |
|||
</syntaxhighlight> |
|||
| |
|||
Lorem ipsum.<ref>{{cite pu||fr}}</ref> |
|||
<references /> |
|||
|- |
|||
| |
|||
<syntaxhighlight lang="xml"> |
|||
Lorem ipsum.<ref>{{cite pu|22|fr|quote=L'adjectif est un mot qui décrit un nom.|trans-quote=An adjective is a word that describes a noun.}}</ref> |
|||
</syntaxhighlight> |
|||
| |
|||
Lorem ipsum.<ref>{{cite pu|22|fr|quote=L'adjectif est un mot qui décrit un nom.|trans-quote=An adjective is a word that describes a noun.}}</ref> |
|||
<references /> |
|||
|- |
|||
| |
|||
<syntaxhighlight lang="xml"> |
|||
Lorem ipsum.<ref>{{cite pu|22|fr|short=yes}}</ref> |
|||
</syntaxhighlight> |
|||
| |
|||
Lorem ipsum.<ref>{{cite pu|22|fr|short=yes}}</ref> |
|||
<references /> |
<references /> |
||
|} |
|} |
||
[[Category:Citation templates]] |
|||
===Template data=== |
|||
<templatedata> |
|||
{ |
|||
"params": { |
|||
"1": { |
|||
"label": "Page", |
|||
"description": "Page number or range (using a comma or en dash)", |
|||
"type": "string", |
|||
"aliases": [ |
|||
"page" |
|||
], |
|||
"example": "1, 3–4", |
|||
"suggested": true |
|||
}, |
|||
"2": { |
|||
"label": "Language", |
|||
"description": "Language of edition of pu, as an ISO 639-1 (2-letter) language code", |
|||
"suggestedvalues": [ |
|||
"en", |
|||
"fr", |
|||
"de", |
|||
"eo" |
|||
], |
|||
"default": "en", |
|||
"type": "string", |
|||
"suggested": true |
|||
}, |
|||
"short": { |
|||
"label": "Short reference", |
|||
"description": "If set, a summarized version of the reference is used.", |
|||
"example": "yes", |
|||
"type": "boolean" |
|||
}, |
|||
"quote": { |
|||
"label": "Quote", |
|||
"description": "Quoted passage from pu", |
|||
"type": "string", |
|||
"example": "In this book, I hope to present the language in its completed form. This is the way I use Toki Pona.", |
|||
"suggested": true |
|||
}, |
|||
"trans-quote": { |
|||
"label": "Translated quote", |
|||
"description": "Translation of quoted passage to English, if the passage is from another language edition", |
|||
"type": "string" |
|||
} |
|||
}, |
|||
"description": "Returns a citation of pu.", |
|||
"paramOrder": [ |
|||
"1", |
|||
"2", |
|||
"short", |
|||
"quote", |
|||
"trans-quote" |
|||
], |
|||
"format": "inline" |
|||
} |
|||
</templatedata> |
|||
</noinclude> |
Latest revision as of 13:19, 2 March 2024
{{{2}}} | Citation |
---|---|
— | Lang, Sonja. (25 May 2014). Toki Pona: The Language of Good. Tawhid. ISBN 978-0978292300. OCLC 921253340. |
fr
|
Lang, Sonja. (24 April 2016). Toki Pona: la langue du bien (in French). Translated by Sonja Lang. Tawhid. ISBN 978-0-9782923-5-5. |
de
|
Lang, Sonja. (1 December 2021). Toki Pona: Die Sprache des Guten (in German). Translated by Julius Strake. ISBN 979-8-7707-5525-1. |
eo
|
Lang, Sonja. (1 October 2022). Tokipono: La lingvo de bono (in Esperanto). Translated by Spencer van der Meulen. ISBN 978-94-6437-609-8. |
{{{short}}} | Citation |
yes | pu. |
Documentation[edit source]
Examples[edit source]
Code | Result |
---|---|
Lorem ipsum.<ref>{{cite pu}}</ref>
|
Lorem ipsum.[1]
|
Lorem ipsum.<ref>{{cite pu|20}}</ref>
|
Lorem ipsum.[1]
|
Lorem ipsum.<ref>{{cite pu|20|quote=An adjective is a word that describes a noun.}}</ref>
|
Lorem ipsum.[1]
|
Lorem ipsum.<ref>{{cite pu|20|short=yes}}<ref>
|
Lorem ipsum.[1] |
Lorem ipsum.<ref>{{cite pu||fr}}</ref>
|
Lorem ipsum.[1]
|
Lorem ipsum.<ref>{{cite pu|22|fr|quote=L'adjectif est un mot qui décrit un nom.|trans-quote=An adjective is a word that describes a noun.}}</ref>
|
Lorem ipsum.[1]
|
Lorem ipsum.<ref>{{cite pu|22|fr|short=yes}}</ref>
|
Lorem ipsum.[1] |
Template data[edit source]
Returns a citation of pu.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page | 1 page | Page number or range (using a comma or en dash)
| String | suggested |
Language | 2 | Language of edition of pu, as an ISO 639-1 (2-letter) language code
| String | suggested |
Short reference | short | If set, a summarized version of the reference is used.
| Boolean | optional |
Quote | quote | Quoted passage from pu
| String | suggested |
Translated quote | trans-quote | Translation of quoted passage to English, if the passage is from another language edition | String | optional |