Template:example/documentation: Difference between revisions
Jump to navigation
Jump to search
(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 '''...") |
No edit summary |
||
Line 8: | Line 8: | ||
# to {{tempn|eng|write}} {{tempn|eng|in}} | # to {{tempn|eng|write}} {{tempn|eng|in}} | ||
#: {{tempn|example|kil | #: {{tempn|example|kil|Drazam wihurad haleṯad '''lešēndah'''.|I '''wrote''' my name in the book.}} | ||
This would render the below: | This would render the below: | ||
# to {{eng|write}} {{eng|in}} | # to {{eng|write}} {{eng|in}} | ||
#: {{example|kil | #: {{example|kil|Drazam wihurad haleṯad '''lešēndah'''.|I '''wrote''' my name in the book.|nocat=1}} | ||
and would add the category [[:Kilitic terms with usage examples]]. | and would add the category [[:Kilitic terms with usage examples]]. |
Revision as of 14:50, 7 August 2023
Uses Lua: |
Shortcut
{{ex}} |
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:
and would add the category Kilitic terms with usage examples.