Template:example/documentation

From Laenkea
< Template:example
Revision as of 14:50, 7 August 2023 by Maria (talk | contribs) (Created page with "{{documentation subpage}} {{uses lua|Module:example}} {{shortcut|Template:ex}} Renders an example sentence for a language entry. ==Usage== Here's a sample usage as you might find with a definition. # to {{tempn|eng|write}} {{tempn|eng|in}} #: {{tempn|example|kil||Drazam wihurad haleṯad '''lešēndah'''.|I '''wrote''' my name in the book.}} This would render the below: # to {{eng|write}} {{eng|in}} #: {{example|kil||Drazam wihurad haleṯad '''lešēndah'''.|I '''...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Edit-copy green.svg Documentation for Template:example. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

Renders an example sentence for a language entry.

Usage

Here's a sample usage as you might find with a definition.

# to {{eng|write}} {{eng|in}}
#: {{example|kil||Drazam wihurad haleṯad lešēndah.|I wrote my name in the book.}}

This would render the below:

  1. to write in
    Lua error in Module:example at line 27: The parameter "4" is not used by this template..

and would add the category Kilitic terms with usage examples.