Template:GlossaryTerm: Difference between revisions

Template page
mNo edit summary
Line 12: Line 12:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
{{#cargo_declare:_table=Glossary|term=String|partOfSpeech=String|definition=Wikitext|altDefinition=Wikitext|infil=URL}}
{{#cargo_declare:_table=Glossary
</noinclude><includeonly>{{#cargo_store:_table=Glossary|term={{{term|}}}|partOfSpeech={{{partOfSpeech|}}}|definition={{{definition|}}}|altDefinition={{{altDefinition|}}}|infil={{{infil|}}} }}
|term=String
|partOfSpeech=String
|definition=Wikitext
|altDefinition=Wikitext
|infil=URL
}}
</noinclude><includeonly>{{#cargo_store:_table=Glossary
|term={{{term|}}}
|partOfSpeech={{{partOfSpeech|}}}
|definition={{{definition|}}}
|altDefinition={{{altDefinition|}}}
|infil={{{infil|}}}
}}
;{{{term}}} {{#if:{{{partOfSpeech|}}}|<small>''{{{partOfSpeech|}}}''</small>}}
;{{{term}}} {{#if:{{{partOfSpeech|}}}|<small>''{{{partOfSpeech|}}}''</small>}}
:{{{definition|}}}{{#if:{{{altDefinition|}}}|
:{{{definition|}}}{{
:{{{altDefinition|}}}}}{{#if:{{{infil|}}}|
#if:{{{altDefinition|}}}|:{{{altDefinition|}}}}}{{
:Infil Glossary Entry: {{{infil|}}}}}</includeonly>
#if:{{{infil|}}}|:Infil Glossary Entry: {{{infil|}}}}}</includeonly>

Revision as of 19:02, 22 May 2022

This is the "GlossaryTerm" template. It should be called in the following format:

{{GlossaryTerm
|term=
|partOfSpeech=
|definition=
|altDefinition=
|infil=
}}

Edit the page to see the template text. This template defines the table "Glossary". View table.