Difference between revisions of "Template:Hebrew name 2"

From blackwiki
Jump to navigation Jump to search
imported>Ynhockey
(long-needed changes for consistency with similar templates)
imported>Mahagaja
(change "Standard" to "Modern" (less confusing as for some people, Tiberian Hebrew is "standard"))
Line 1: Line 1:
[[Hebrew language|Hebrew]]: {{nowrap|{{Hebrew|{{{hebrew1|{{{1}}}}}}}}}} / {{nowrap|{{Hebrew|{{{hebrew2|{{{2}}}}}}}}}}, {{#if:{{{stan1|{{{3|}}}}}}|{{#if:{{{tiber1|{{{5|}}}}}}|<small>[[Hebrew language#Modern Hebrew|Standard]]</small>&nbsp;|}}''{{unicode|{{{stan1|{{{3}}}}}}}}'' {{#if:{{{stan2|{{{4|}}}}}}|/ ''{{unicode|{{{stan2|{{{4}}}}}}}}''|}}|}} {{#if:{{{tiber1|{{{5|}}}}}}|{{#if:{{{stan1|{{{3|}}}}}}|<small>[[Tiberian vocalization|Tiberian]]</small>&nbsp;|}}''{{unicode|{{{tiber1|{{{5}}}}}}}}'' / ''{{unicode|{{{tiber2|{{{6}}}}}}}}''|}}{{#if:{{{means|{{{7|}}}}}}|&nbsp;&#59; {{{means|{{{7}}}}}}|}}<noinclude>
+
[[Hebrew language|Hebrew]]: {{nowrap|{{Hebrew|{{{hebrew1|{{{1}}}}}}}}}} / {{nowrap|{{Hebrew|{{{hebrew2|{{{2}}}}}}}}}}, {{#if:{{{stan1|{{{3|}}}}}}|{{#if:{{{tiber1|{{{5|}}}}}}|<small>[[Hebrew language#Modern Hebrew|Modern]]</small>&nbsp;|}}''{{unicode|{{{stan1|{{{3}}}}}}}}'' {{#if:{{{stan2|{{{4|}}}}}}|/ ''{{unicode|{{{stan2|{{{4}}}}}}}}''|}}|}} {{#if:{{{tiber1|{{{5|}}}}}}|{{#if:{{{stan1|{{{3|}}}}}}|<small>[[Tiberian vocalization|Tiberian]]</small>&nbsp;|}}''{{unicode|{{{tiber1|{{{5}}}}}}}}'' / ''{{unicode|{{{tiber2|{{{6}}}}}}}}''|}}{{#if:{{{means|{{{7|}}}}}}|&nbsp;&#59; {{{means|{{{7}}}}}}|}}<noinclude>
  
 
== How to use ==
 
== How to use ==

Revision as of 05:38, 21 April 2009

Hebrew: Template:Hebrew / Template:Hebrew,

How to use

This Wiki markup:

{{Hebrew Name 2 | hebrew1=A | hebrew2=B | stan1=C | stan2=D | tiber1=E | tiber2=F | means=G}}

produces this:

Hebrew: Template:Hebrew / Template:Hebrew, Modern Template:Unicode / Template:Unicode Tiberian Template:Unicode / Template:Unicode ; G

The template may also be used with unnamed parameters. For example:

{{Hebrew Name 2|A|B|C||E|F}}

produces:

Hebrew: Template:Hebrew / Template:Hebrew, Modern Template:Unicode Tiberian Template:Unicode / Template:Unicode

Some notes:

  • The hebrew1 and hebrew2 parameters are mandatory.
  • The stan2 parameter cannot be included unless the stan1 is as well.
  • The tiber1 and tiber2 parameters can either both be included, or neither. This is inherent to the expected usage of this template.
  • The means parameter is optional.
  • The order of parameters doesn't matter when they are entered by name (as in the first example above).