Template:"/doc

Category:Template documentation#%22/doc

Inserts a quotation inline into the running text, using the correct quotation marks and, optionally, including author, source, transliteration and translation.

Usage


{{" |1= |2= |3= |lang= |transliteration= |translation-lang= |translation= }}

Template parameters

ParameterDescriptionDefaultStatus
1
text
quote
QuoteText of the quoteemptyrequired
2
author
sign
cite
AuthorAuthor of the quoteemptyoptional
3
source
SourceSource of the quoteemptyoptional
langquote languageLanguage of the quote; format: IETF language tagemptyoptional
transliterationTransliterationTransliteration the quoteemptyoptional
translation-langTranslation languageLanguage of the translationemptyoptional
translationTranslationTranslation of the quoteemptyoptional
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. <nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw <templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.


Wikipedia's help about TemplateDataCommons-specific information

Category:TemplateData documentation

Inserts a quotation inline into the running text, using the correct quotation marks and, optionally, including author, source, transliteration and translation.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Quote1 text quote

Text of the quote

Stringrequired
Author2 author sign cite

Author of the quote

Stringoptional
Source3 source

Source of the quote

Stringoptional
quote languagelang

Language of the quote; format: [[:en:IETF language tag|IETF language tag]]

Suggested values
aig sma ang abr ace af agq ak gsw als en-us ase smn an aae rup roa-rup frp ast atj gn ay az ksf bfd abs gor id ms bdr bkc bkh bm zh-min-nan bax nan-latn-pehoeji nan-latn-tailo bjn ban map-bms bug bas mui btm bbc bbc-latn bew sje bcl bi bar bol bs brh br en-gb en-ca cps cal ca ceb cs cho ch cbk-zam ny chn sn tum lua sei dag co cy dga da se se-no se-fi se-se pdc de de-formal na nv dsb dua mh et efi etu vmw egl eml es en es-formal es-419 eo ext eto eu ee ewo wls gur fmp hif hif-latn fon fo fr frc fy ff fur gaa ga gv sm gag gd gl gya aln guw gpe bbj ki gom-latn hak-latn cnh ha haw ho hoc-latn hsb hr hrx ibb io igl ig rw rn ilo hil ia ike-latn ie ik bto nr xh zu is isu it iba jv kaj smj jut rmf kbp kea dtp kr kl pam cak kai krl csb ker kw kha hke krj kiu sw kg bkm avk ses ht gcf kri gcr kge ku ku-latn kus fkv kj nmg acf jbo lld lad lkt lns ljp ltg lv la lzz to lb nia lt li lij ln lfn liv olo lmo lg yua mad hu mg hu-formal vmf mcp mt mnc mnc-latn mi arn mrh srq fit byv isv isv-latn fat min cdo-latn mwl lus bqz mos mua mus fj nah pcm nap ppl nmz nnz nl nl-informal nds-nl cr nge nnh nla yrl niu lem pih frr no nb nn nrm nov yas sms nup nys uz-latn uz ann oc ojb frs om nyo ttj ng de-at hz pfl pag ami pap-aw pap jam pcd wes pms pwn nds pdt cpx-latn pl fvr pt pt-br prg aa kaa quc kk-latn kk-tr crh crh-latn ty ksh ro rmc rmy rgn rm nyn qug qu xsy szy sro sg sc sas sdc sli sco de-ch trv stq st nso tn sq scn loz simple ss sk sl szl so srn sr-el sh-latn sh su fi sv shy shy-latn shi shi-latn tl zgh-latn tpv tt-latn kab roa-tara rif crh-ro tay tet din vi tg-latn tpi tok tly chy ve bag tvu aeb-latn tr tk tru tw kcg sju vot ug-latn za vec vep ruq ruq-latn vo vro fiu-vro mcn vut wlx wa bci guc osa-latn vls wal war wo wya ts yav yat ybb knc yo diq zea el sgs bat-smg grc pnt cop av ady ady-cyrl kbd kbd-cyrl alt ab ba be be-tarask be-x-old bxr bg ruq-cyrl inh dlg os kv sjd krc kum crh-cyrl ky mrj kk-kz kk kk-cyrl lbe lez mk isv-cyrl mdf mo mn rut gld nog ce mhr koi rue rsk ru sah sty cu sr-ec sr sh-cyrl tt-cyrl tt tly-cyrl tg-cyrl tg tyv udm uz-cyrl uk kjh xal cv myv xmf ka sva hyw hy anp awa thq ks-deva gju-deva kgg gom-deva gom dty new ne pi bho bh mag mr rwr mai sa bgc hi as bn bpy pa gu or dso bfw ta nit te kn tcy ml si syl dz bo mni bug-bugi ksw blk kjp shn mnw my rki ccp km th tdd lo nod ban-bali jv-java sat chr ike-cans iu hoc got tzm shi-tfng zgh tig ti am ii ko-kp ko ja ryu zh zh-cn zh-sg zh-mo zh-hans zh-hant zh-tw zh-my zh-hk wuu-hant wuu wuu-hans hak hak-hant hak-hans lzh zh-classical hsn yue zh-yue yue-hant yue-hans cpx cpx-hant cpx-hans gan gan-hant nan gan-hans nan-hani nan-hant cdo cdo-hant mnc-mong yi he ug-arab ug ur ary ar bqi aeb-arab ms-arab ps pnb aeb azb arq bcc bgn skr skr-arab apc sd acm fa kk-arab kk-cn ku-arab ks ks-arab khw ckb sdh gju-arab glk ota lrc luz lki mzn arz hno arc dv nqo
Lineoptional
Translationtranslation

Translation of the quote

Stringoptional
Translation languagetranslation-lang

Language of the translation

Suggested values
aig sma ang abr ace af agq ak gsw als en-us ase smn an aae rup roa-rup frp ast atj gn ay az ksf bfd abs gor id ms bdr bkc bkh bm zh-min-nan bax nan-latn-pehoeji nan-latn-tailo bjn ban map-bms bug bas mui btm bbc bbc-latn bew sje bcl bi bar bol bs brh br en-gb en-ca cps cal ca ceb cs cho ch cbk-zam ny chn sn tum lua sei dag co cy dga da se se-no se-fi se-se pdc de de-formal na nv dsb dua mh et efi etu vmw egl eml es en es-formal es-419 eo ext eto eu ee ewo wls gur fmp hif hif-latn fon fo fr frc fy ff fur gaa ga gv sm gag gd gl gya aln guw gpe bbj ki gom-latn hak-latn cnh ha haw ho hoc-latn hsb hr hrx ibb io igl ig rw rn ilo hil ia ike-latn ie ik bto nr xh zu is isu it iba jv kaj smj jut rmf kbp kea dtp kr kl pam cak kai krl csb ker kw kha hke krj kiu sw kg bkm avk ses ht gcf kri gcr kge ku ku-latn kus fkv kj nmg acf jbo lld lad lkt lns ljp ltg lv la lzz to lb nia lt li lij ln lfn liv olo lmo lg yua mad hu mg hu-formal vmf mcp mt mnc mnc-latn mi arn mrh srq fit byv isv isv-latn fat min cdo-latn mwl lus bqz mos mua mus fj nah pcm nap ppl nmz nnz nl nl-informal nds-nl cr nge nnh nla yrl niu lem pih frr no nb nn nrm nov yas sms nup nys uz-latn uz ann oc ojb frs om nyo ttj ng de-at hz pfl pag ami pap-aw pap jam pcd wes pms pwn nds pdt cpx-latn pl fvr pt pt-br prg aa kaa quc kk-latn kk-tr crh crh-latn ty ksh ro rmc rmy rgn rm nyn qug qu xsy szy sro sg sc sas sdc sli sco de-ch trv stq st nso tn sq scn loz simple ss sk sl szl so srn sr-el sh-latn sh su fi sv shy shy-latn shi shi-latn tl zgh-latn tpv tt-latn kab roa-tara rif crh-ro tay tet din vi tg-latn tpi tok tly chy ve bag tvu aeb-latn tr tk tru tw kcg sju vot ug-latn za vec vep ruq ruq-latn vo vro fiu-vro mcn vut wlx wa bci guc osa-latn vls wal war wo wya ts yav yat ybb knc yo diq zea el sgs bat-smg grc pnt cop av ady ady-cyrl kbd kbd-cyrl alt ab ba be be-tarask be-x-old bxr bg ruq-cyrl inh dlg os kv sjd krc kum crh-cyrl ky mrj kk-kz kk kk-cyrl lbe lez mk isv-cyrl mdf mo mn rut gld nog ce mhr koi rue rsk ru sah sty cu sr-ec sr sh-cyrl tt-cyrl tt tly-cyrl tg-cyrl tg tyv udm uz-cyrl uk kjh xal cv myv xmf ka sva hyw hy anp awa thq ks-deva gju-deva kgg gom-deva gom dty new ne pi bho bh mag mr rwr mai sa bgc hi as bn bpy pa gu or dso bfw ta nit te kn tcy ml si syl dz bo mni bug-bugi ksw blk kjp shn mnw my rki ccp km th tdd lo nod ban-bali jv-java sat chr ike-cans iu hoc got tzm shi-tfng zgh tig ti am ii ko-kp ko ja ryu zh zh-cn zh-sg zh-mo zh-hans zh-hant zh-tw zh-my zh-hk wuu-hant wuu wuu-hans hak hak-hant hak-hans lzh zh-classical hsn yue zh-yue yue-hant yue-hans cpx cpx-hant cpx-hans gan gan-hant nan gan-hans nan-hani nan-hant cdo cdo-hant mnc-mong yi he ug-arab ug ur ary ar bqi aeb-arab ms-arab ps pnb aeb azb arq bcc bgn skr skr-arab apc sd acm fa kk-arab kk-cn ku-arab ks ks-arab khw ckb sdh gju-arab glk ota lrc luz lki mzn arz hno arc dv nqo
Lineoptional
Transliterationtransliteration

Transliteration the quote

Stringoptional

Additional information

The template is intended to be used in the following namespaces: all namespaces

The template is intended to be used by the following user groups: all users

Relies on:
{{Label}}, {{Language}}, {{Quoted text}}, {{Trim}}

Example

{{"|1=οὗτος μὲν οἴεταί τι εἰδέναι οὐκ εἰδώς, ἐγὼ δέ, ὥσπερ οὖν οὐκ οἶδα, οὐδὲ οἴομαι|lang=el
 |transliteration=houtos men oietai ti eidenai ouk eidōs, egō de, hōsper oun ouk oida, oude oimai
 |author={{Label|Q913}}
 |source=<ref>{{Cite book |url=https://www.perseus.tufts.edu/hopper/text?doc=Perseus%3Atext%3A1999.01.0169%3Atext%3DApol.%3Asection%3D22d |title=Plato |series=Plato in Twelve Volumes |volume=1 |publisher=Harvard University Press|date=1966}}</ref>
 |translation-lang=en
 |translation=I know that I know nothing}}

renders as:

«οὗτος μὲν οἴεταί τι εἰδέναι οὐκ εἰδώς, ἐγὼ δέ, ὥσπερ οὖν οὐκ οἶδα, οὐδὲ οἴομαι»  houtos men oietai ti eidenai ouk eidōs, egō de, hōsper oun ouk oida, oude oimai Socrates  :[1], English: "I know that I know nothing"

Localization

This template is not intended to be localized.

  1. (1966) Plato, Plato in Twelve Volumes, 1, Harvard University Press
Category:TemplateData documentation Category:Template documentation