Template:Phrasebook: Difference between revisions

From Linguifex
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
| This entry is a phrasebook entry for {{#switch:{{{link|{{{2|}}}}}}|true|1|yes={{#if:{{{linkedpage|}}}|[[{{{linkedpage}}}|{{#var:Lang}}]]|[[Appendix:{{#var:Lang}} phrasebook|{{#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|{{{2|}}}}}}|true|1|yes={{#if:{{{linkedpage|}}}|[[{{{linkedpage}}}|{{#var:Lang}}]]|[[Appendix:{{#var:Lang}} phrasebook|{{#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.<!--
-->{{#switch:{{{cat|{{{3|}}}}}}|true|1|yes=[[Category:{{#var:Lang}} phrasebook]]|false|0|no=|}}
-->{{#switch:{{{cat|{{{3|}}}}}}|true|1|yes=[[Category:{{#var:Lang}} phrasebook]]|false|0|no=|}}
|}</div></div>
|}</div></div><noinclude>
{{documentation}}
[[Category:Contionary templates]][[Category:Templates]]
</noinclude>

Revision as of 14:32, 11 September 2020

Undetermined phrasebook
Open book 01.svg This entry is a phrasebook entry for Undetemined, meaning that the expression is valuable enough for learners 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 based on utility, simplicity and commonality.