Template:Definition: Difference between revisions

From Indian River Lagoon Project
mNo edit summary
mNo edit summary
Line 22: Line 22:
Edit the page to see the template text.
Edit the page to see the template text.
{{#cargo_declare:_table=definition|Term=String|Abb=String|Type=List (,) of String||Pronunciation=String|AudioFile=File|Definition=Text|Sentence=Text|Synonym=String|SourceURL=URL|RelatedURL=URL|ImageFile=File|Poster=String|Postdate=String|TermID=String}}
{{#cargo_declare:_table=definition|Term=String|Abb=String|Type=List (,) of String||Pronunciation=String|AudioFile=File|Definition=Text|Sentence=Text|Synonym=String|SourceURL=URL|RelatedURL=URL|ImageFile=File|Poster=String|Postdate=String|TermID=String}}
</noinclude><includeonly>{{#cargo_store:_table=definition|Term={{lc:{{{Term|}}} }}|Abb={{{Abb|}}}|Type={{{Type|}}}|Pronunciation={{{Pronunciation|}}}|AudioFile={{{AudioFile|}}}|Definition={{{Definition|}}}|Sentence={{{Sentence|}}}|Synonym={{{Synonym|}}}|SourceURL={{{SourceURL|}}}|RelatedURL={{{RelatedURL|}}}|ImageFile={{{ImageFile|}}}|Poster={{{Poster|}}}|Postdate={{{Postdate|}}}|TermID={{{TermId|}}} }}{|  
</noinclude><includeonly>{{#cargo_store:_table=definition|Term={{lc:{{{Term|}}} }}|Abb={{{Abb|}}}|Type={{{Type|}}}|Pronunciation={{{Pronunciation|}}}|AudioFile={{{AudioFile|}}}|Definition={{{Definition|}}}|Sentence={{{Sentence|}}}|Synonym={{{Synonym|}}}|SourceURL={{{SourceURL|}}}|RelatedURL={{{RelatedURL|}}}|ImageFile={{{ImageFile|}}}|Poster={{{Poster|}}}|Postdate={{{Postdate|}}}|TermID={{{TermId|}}} }}{|
{{IRL header glossary}}
<section begin=term-{{{Term|}}} />
<div class="irldefdiv" style="width:100%; float:left; box-sizing:border-box;margin-top:20px">
<div class="irldefdiv" style="width:100%; float:left; box-sizing:border-box;margin-top:20px">
<div class="irldeftop">
<div class="irldeftop">
Line 37: Line 39:
</div><!-- END defbottom -->
</div><!-- END defbottom -->
</div><!-- END defdiv -->
</div><!-- END defdiv -->
<section end=term-{{{Term|}}} />
|}
|}
{{#default_form:definition}}
{{#default_form:definition}}
{{IRL footer glossary}}
[[Category:Glossary]]
[[Category:Glossary]]
</includeonly>
</includeonly>

Revision as of 20:30, November 21, 2019

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

{{definition
|Term=
|Type=
|Pronunciation=
|AudioFile=
|Definition=
|SourceURL=
|Sentence=
|RelatedURL=
|Synonym=
|ImageFile=
|Abb=
|Poster=
|Postdate=
|TermID=
}}

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