Template:Dictionary: Difference between revisions

From OpenGeofiction
(Created page with "<includeonly><table class="dictionary sortable" width="100%"><!-- -->{{#if:{{{caption|}}}|<caption>{{{caption}}}</caption>|}}<!-- --><tr><th>{{{language}}} word</th><th>Transl...")
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
</table></includeonly><noinclude><!--
</table></includeonly><noinclude><!--


-->Dictionaries are designed to provide concise entries for conlang presentation. They are compatible with two-column sections in a side-by-side format to save space. To institute a two-column setup, simply include <code><div style="column-count:2"></code> before the desired section and <code></div></code> at the end of it.
-->Dictionaries are designed to provide concise entries for conlang presentation. They are compatible with two-column sections in a side-by-side format to save space. To institute a two-column setup, simply include <code><nowiki><div style="column-count:2"></nowiki></code> before the desired section and <code></div<nowiki />></code> at the end of it.


Please note: this template '''must''' be used in conjunction with {{tl|wordentry}} or else it breaks.
Please note: this template '''must''' be used in conjunction with {{tl|wordentry}} or else it breaks.
Line 17: Line 17:
</pre>
</pre>


[[Template:Formatting and function templates]]
[[Category:Formatting and function templates]]

Latest revision as of 20:23, 27 March 2023

Dictionaries are designed to provide concise entries for conlang presentation. They are compatible with two-column sections in a side-by-side format to save space. To institute a two-column setup, simply include <div style="column-count:2"> before the desired section and </div> at the end of it.

Please note: this template must be used in conjunction with {{wordentry}} or else it breaks.

{{dictionary
| language = (language name)
| caption = (optional in case of a special grouping or selection)
| entries = (using successive instances of {{wordentry}} for each word)
}}