Template:Phrasebook: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
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|}}}}}}|true|1|yes={{#if:{{{linkedpage|{{{4|}}}}}}|[[{{{linkedpage|{{{4|}}}}}}|{{#var:Lang}}]]|[[ | | 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.<!-- | ||
-->{{#switch:{{{cat|{{{2|}}}}}}|true|1|yes=[[Category:{{#var:Lang}} phrasebook]]|false|0|no=|}} | -->{{#switch:{{{cat|{{{2|}}}}}}|true|1|yes=[[Category:{{#var:Lang}} phrasebook]]|false|0|no=|}} | ||
|}</div></div><noinclude> | |}</div></div><noinclude> |
Revision as of 18:22, 30 January 2021
Undetermined phrasebook
- The following documentation is located at Template:Phrasebook/doc. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
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
This entry is a phrasebook entry for Dothraki, meaning that the expression is valuable enough for learners based on utility, simplicity and commonality. |