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=Boolean|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=Boolean|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={{{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={{lcfirst:{{{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|}}} }}{|  
<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="irlheader"><h1>{{SITENAME}} Glossary</h1><p>[[Glossary:Terms|<Back to Terms and Definitions]]</p></div>
<div class="irlheader"><h1>{{SITENAME}} Glossary</h1><p>[[Glossary:Terms|<Back to Terms and Definitions]]</p></div>

Revision as of 19:52, November 7, 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.