Template:Definition: Difference between revisions

From Indian River Lagoon Project
mNo edit summary
mNo edit summary
Line 27: Line 27:
{{IRL toc glossary}}
{{IRL toc glossary}}
{{#if:{{{ImageFile|}}} |<div class="irldefimage">[[File:{{{ImageFile|}}}|320px|frameless|left|Indian River Lagoon {{{Term|}}} ]]</div>}}
{{#if:{{{ImageFile|}}} |<div class="irldefimage">[[File:{{{ImageFile|}}}|320px|frameless|left|Indian River Lagoon {{{Term|}}} ]]</div>}}
<div class="irldefdiv">
<div class="irldeftop">
<div class="irldeftop">
<div class="irldefterm">{{{Term|}}} {{#if: {{{Abb|}}} |<span class="irldefabb">({{{Abb|}}})</span>}}</div>
<div class="irldefterm">{{{Term|}}} {{#if: {{{Abb|}}} |<span class="irldefabb">({{{Abb|}}})</span>}}</div>
Line 34: Line 33:
<div class="irldefdef">{{{Definition|}}}<span class="irldefsource noprint">[{{{SourceURL|}}} Source]</span></div>
<div class="irldefdef">{{{Definition|}}}<span class="irldefsource noprint">[{{{SourceURL|}}} Source]</span></div>
<div class="irldeflinks">
<div class="irldeflinks">
{{#if:{{{Type|}}}|<div class="irldeftype"><span class="irldeflabel">Word Class: </span>{{#arraymap:{{{Type|}}}|,|x| x }}</div>}}{{#if: {{{Pronunciation|}}} |<div class="irldefpro"><span class="irldeflabel">Pronunciation: </span>{{{Pronunciation|}}}</div> }}{{#if: {{{AudioFile|}}} |<div class="irldefaudio noprint"><span class="irldefaudioplayer">[[File:{{{AudioFile|}}}]]</span></div>}}{{#if: {{{Synonym|}}} |<div class="irldefsynonym"><span class="irldeflabel">Synonym: </span>{{{Synonym|}}}</div> }}{{#if: {{{Sentence|}}} |<div class="irldefexample"><span class="irldeflabel">Example: </span><span class="irldefsentence">{{{Sentence|}}}</span></div>}}{{#if: {{{RelatedURL|}}} |<div class="irldefrelated noprint"><span class="irldeflabel">Related Link: </span>[{{{RelatedURL|}}} ]</div>}}
{{#if:{{{Type|}}}|<div class="irldeftype"><span class="irldeflabel">Word Class: </span>{{#arraymap:{{{Type|}}}|,|x| x }}</div>}}{{#if: {{{Pronunciation|}}} |<div class="irldefpro"><span class="irldeflabel">Pronunciation: </span>{{{Pronunciation|}}}</div> }}{{#if: {{{AudioFile|}}} |<div class="irldefaudio noprint"><span class="irldefaudioplayer">[[File:{{{AudioFile|}}}]]</span></div>}}{{#if: {{{Synonym|}}} |<div class="irldefsynonym"><span class="irldeflabel">Synonym: </span>{{{Synonym|}}}</div> }}{{#if: {{{Sentence|}}} |<div class="irldefexample"><span class="irldeflabel">Example: </span><span class="irldefsentence">{{{Sentence|}}}</span></div>}}{{#ifexist: {{SUBPAGENAME}}|<div class="irldefread noprint"><span class="irldeflabel">See Also: </span>[[{{SUBPAGENAME}}]]</div>}}{{#if: {{{RelatedURL|}}} |<div class="irldefrelated noprint"><span class="irldeflabel">Related Link: </span>[{{{RelatedURL|}}} ]</div>}}
<!-- {{#ifexist: {{SUBPAGENAME}}|<div class="irldefread noprint"><span class="irldeflabel">See Also: </span>[[{{SUBPAGENAME}}]]</div>}} -->
</div>
</div>
</div>
</div>

Revision as of 15:35, October 19, 2020

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.