Template:Definition: Difference between revisions

From Indian River Lagoon Project
mNo edit summary
mNo edit summary
Line 32: Line 32:
<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: {{{Pronunciation|}}} |<div class="irldefpro"><span class="irldeflabel">Pronunciation: </span>{{{Pronunciation|}}}</div> }}{{#if:{{{Type|}}}|<div class="irldeftype"><span class="irldeflabel">Word Class: </span><span class="irldeftypespan">{{#arraymap:{{{Type|}}}|,|x| x }}</span></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:{{{Article|}}}|<div class="irldefread noprint"><span class="irldeflabel">See Also: </span>[[{{{Article|}}}]]</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><span class="irldeftypespan">{{#arraymap:{{{Type|}}}|,|x| x }}</span></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:{{{Article|}}}|<div class="irldefread noprint"><span class="irldeflabel">See Also: </span>[[{{{Article|}}}]]</div>}}{{#if: {{{RelatedURL|}}} |<div class="irldefrelated noprint"><span class="irldeflabel">Related Link: </span>{{{RelatedURL|}}}</div>}}
</div>
</div>
</div>
</div>

Revision as of 04:01, November 25, 2020

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

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

This template defines the table "definition". View table.