45,625
edits
(Created page with "{{documentation subpage}} This template generates a navigation box between number entries of a particular language. Unlike Wiktionary's approach,...") |
m (→Example) |
||
Line 22: | Line 22: | ||
Suppose we want to set up a ''number box'' for the number 2 in some language, and we want the caption of the table to redirect to Contionary's main page. The template usage would be the following: | Suppose we want to set up a ''number box'' for the number 2 in some language, and we want the caption of the table to redirect to Contionary's main page. The template usage would be the following: | ||
<pre style="overflow: auto;">{{number box|Placeholder|2|headlink=Portal:Contionary|top=example-top|prev=example-before|next=example-after|contents=:''[[w:ordinal number|Ordinal]]'': {{term|example- | <pre style="overflow: auto;">{{number box|Placeholder|2|headlink=Portal:Contionary|top=example-top|prev=example-before|next=example-after|contents=:''[[w:ordinal number|Ordinal]]'': {{term|example-second}}<br>''[[w:cardinal number|Cardinal]]'': {{term|example-two}<br>''[[w:multiplier (linguistics)|Multiplier]]'': {{term|example-double}}}}, etc.</pre> | ||
which will render: | which will render: | ||
{{number box|Placeholder|2|headlink=Portal:Contionary|top=example-top|prev=example-before|next=example-after|contents=:''[[w:ordinal number|Ordinal]]'': {{term|example- | {{number box|Placeholder|2|headlink=Portal:Contionary|top=example-top|prev=example-before|next=example-after|contents=:''[[w:ordinal number|Ordinal]]'': {{term|example-second}}<br>''[[w:cardinal number|Cardinal]]'': {{term|example-two}}<br>''[[w:multiplier (linguistics)|Multiplier]]'': {{term|example-double}}}} | ||
<br><br><br><br><br><br> | <br><br><br><br><br><br> | ||
==Notes== | ==Notes== |