Template:head/documentation: Difference between revisions

Tag: Manual revert
 
(6 intermediate revisions by the same user not shown)
Line 8: Line 8:
For example, on the Radestrian entry {{m|rad|alșa}}:
For example, on the Radestrian entry {{m|rad|alșa}}:


  {{tempn|head|rad|noun|g=in|genitive singular|alșesk}}
  {{tempn|head|rad|noun|g=in|genitive singular|alșesk|label=count and uncount}}


Generates:
Generates:
: {{head|rad|noun|g=in|genitive singular|alșesk|head=alșa|nocat=1}}
: {{head|rad|noun|g=in|genitive singular|alșesk|head=alșa|nocat=1|label=count and uncount}}


=== Overriding the headword ===
=== Overriding the headword ===
Line 19: Line 19:


  {{tempn|head|rad|noun|g=in|genitive singular|pýj vỉșk|'''head=<nowiki>{{l|rad|pýr}} {{l|rad|vỉș|vỉșe}}</nowiki>'''}}
  {{tempn|head|rad|noun|g=in|genitive singular|pýj vỉșk|'''head=<nowiki>{{l|rad|pýr}} {{l|rad|vỉș|vỉșe}}</nowiki>'''}}
  {{tempn|rad-noun|in|gen=pýj vỉșk|'''head=<nowiki>{{l|rad|pýr}} {{l|rad|vỉș|vỉșe}}</nowiki>'''}}
  '''or''' {{tempn|rad-noun|in|gen=pýj vỉșk|'''head=<nowiki>{{l|rad|pýr}} {{l|rad|vỉș|vỉșe}}</nowiki>'''}}


Generates:
Generates:
: {{head|rad|noun|g=in|genitive singular|pýj vỉșk|head={{l|rad|pýr}} {{l|rad|vỉș|vỉșe}}|nocat=1}}
: {{head|rad|noun|g=in|genitive singular|pýj vỉșk|head={{l|rad|pýr}} {{l|rad|vỉș|vỉșe}}|nocat=1}}


 
==== <code>*word:link*</code> functionality ====
Instead of typing out links, you can also use <code>*asterisks*</code> around the words to be linked. <code>*word*</code> generates a simple language link, but <code>*word:link*</code> will create a link displaying <code>word</code> and linking to <code>link</code>.
Instead of typing out links, you can also use <code>*asterisks*</code> around the words to be linked. <code>*word*</code> generates a simple language link, but <code>*word:link*</code> will create a link displaying <code>word</code> and linking to <code>link</code>.


  {{tempn|head|rad|noun|g=in|genitive singular|pýj vỉșk|'''head=*pýr* *vỉșe:vỉș*'''}}
  {{tempn|head|rad|noun|g=in|genitive singular|pýj vỉșk|'''head=*pýr* *vỉșe:vỉș*'''}}
  {{tempn|rad-noun|in|gen=pýj vỉșk|'''head=*pýr* *vỉșe:vỉș*'''}}
  '''or''' {{tempn|rad-noun|in|gen=pýj vỉșk|'''head=*pýr* *vỉșe:vỉș*'''}}


Generates:
Generates the same as above.
: {{head|rad|noun|g=in|genitive singular|pýj vỉșk|head=*pýr* *vỉșe:vỉș*|nocat=1}}
 
==== <code>*word[s]*</code> functionality ====
If you find yourself repeating stems when typing <code>*words:word*</code>, you can instead type <code>*word[s]*</code>, which will be treated as if it were <code>*words:word*</code>.
 
{{tempn|head|rad|noun|g=in|genitive singular|pýj vỉșk|'''head=*pýr* *vỉș[e]*'''}}
'''or''' {{tempn|rad-noun|in|gen=pýj vỉșk|'''head=*pýr* *vỉș[e]*'''}}
 
Generates the same as above.