Template:Definition: Difference between revisions
From Indian River Lagoon Project
mNo edit summary |
mNo edit summary |
||
Line 36: | Line 36: | ||
{{#if:{{{Type|}}}|<div class="irldeftype"><span class="irldeflabel">Word Class: </span>{{#arraymap:{{{Type|}}}|,|x| x }}</div>}} | {{#if:{{{Type|}}}|<div class="irldeftype"><span class="irldeflabel">Word Class: </span>{{#arraymap:{{{Type|}}}|,|x| x }}</div>}} | ||
{{#if: {{{Synonym|}}} |<div class="irldefsynonym"><span class="irldeflabel">Synonym: </span>{{{Synonym|}}}</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:{{{ImageFile|}}} |<div class="irldefimage">[[File:{{{ImageFile|}}}|640px|frameless|left]]</div>}} | {{#if:{{{ImageFile|}}} |<div class="irldefimage">[[File:{{{ImageFile|}}}|640px|frameless|left]]</div>}} | ||
<!-- {{#ifexist: {{SUBPAGENAME}}|<div class="irldefread noprint"><span class="irldeflabel">See Also: </span>[[{{SUBPAGENAME}}]]</div>}} --> | <!-- {{#ifexist: {{SUBPAGENAME}}|<div class="irldefread noprint"><span class="irldeflabel">See Also: </span>[[{{SUBPAGENAME}}]]</div>}} --> | ||
{{#if: {{{RelatedURL|}}} |<div class="irldefrelated noprint"><span class="irldeflabel"> | {{#if: {{{RelatedURL|}}} |<div class="irldefrelated noprint"><span class="irldeflabel">Related Link: </span>{{{RelatedURL|}}}</div>}} | ||
<div class="irldefsource noprint"><span class="irldeflabel">Source: </span>{{{SourceURL|}}}</div> | <div class="irldefsource noprint"><span class="irldeflabel">Source: </span>[{{{SourceURL|}}} ]</div> | ||
</div> | </div> | ||
</div> | </div> |
Revision as of 11:53, October 15, 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.