Template:Phrasebook: Difference between revisions

From Linguifex
Jump to navigation Jump to search
(Undo revision 219520 by Sware (talk))
Tag: Undo
No edit summary
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
|-
|-
| style="width:100px" style="text-align:left;" | [[File:Open book 01.svg|40px]]
| style="width:100px" style="text-align:left;" | [[File:Open book 01.svg|40px]]
| This entry is a phrasebook entry for {{#switch:{{{link|{{{3|1}}}}}}|true|1|yes={{#if:{{{linkedpage|{{{4|}}}}}}|[[{{{linkedpage|{{{4|}}}}}}|{{#var:Lang}}]]|[[{{#var:Lang}}]]}}|false|0|no|#default={{#if:{{#var:Lang}}|{{#var:Lang}}|Undetemined}}}}, meaning that the expression is valuable enough for learners based on utility, simplicity and commonality.<!--
| This entry is a phrasebook entry for {{#switch:{{{link|{{{3|1}}}}}}|true|1|yes={{#if:{{{linkedpage|{{{4|}}}}}}|[[{{{linkedpage|{{{4|}}}}}}|{{#var:Lang}}]]|[[{{#var:Lang}}]]}}|false|0|no|#default={{#if:{{#var:Lang}}|{{#var:Lang}}|Undetemined}}}}, meaning that the expression is valuable enough for learners of the language based on utility, simplicity and commonality.<!--
-->{{#switch:{{{cat|{{{2|1}}}}}}|true|1|yes=[[Category:{{#var:Lang}} phrasebook]]|false|0|no=|}}
-->{{#switch:{{{cat|{{{2|{{#ifeq:{{NAMESPACE}}|Template|0|1}}}}}}}}|true|1|yes=[[Category:{{#var:Lang}} phrasebook]]|false|0|no=|}}
|}</div></div><noinclude>
|}</div></div><noinclude>
{{documentation}}
{{documentation}}
[[Category:Contionary templates]][[Category:Templates]]
[[Category:Contionary templates]][[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 23:08, 11 April 2021

Undetermined phrasebook
Open book 01.svg This entry is a phrasebook entry for [[]], meaning that the expression is valuable enough for learners of the language based on utility, simplicity and commonality.

This template lets you create a phrasebook notice, preferably directly under the second-level heading (==Header==). See English Wiktionary entry how are you, for example.

Usage

{{phrasebook|lang= |cat= |link= |linkedpage=}}

|lang=, |1= #REQUIRED
Your language's name. Automatically capitalized.
|cat=, |2=
Adds the entry to Category:language name phrasebook.,
|link=, |3=
Adds a link to your language's phrasebook page. It defaults to Appendix:language name phrasebook if true.
|linkedpage=, |4=
Sets up a custom link. Do not write the square brackets.

|cat= and |link= can be turned on or off by setting their values to true, 1, yes or false, 0, no, respectively. Other vaules will be ignored. Their default values are always false.

Example

{{phrasebook|lang=dothraki|link=true|linkedpage=Portal:Contionary}}

Dothraki phrasebook
Open book 01.svg This entry is a phrasebook entry for Dothraki, meaning that the expression is valuable enough for learners of the language based on utility, simplicity and commonality.