Template:Abbreviation: Difference between revisions

From Indian River Lagoon Project
mNo edit summary
mNo edit summary
Line 3: Line 3:
It should be called in the following format:
It should be called in the following format:
<pre>
<pre>
{{abbreviation
{{Abb
|abbphrase=
|Term=
|abb=
|Abb=
|abbtopic=
|Description=
|abbdesc=
|RelatedURL=
|abbpage=
|Poster=
|abblink=
|Postdate=
|abbtag=
|abbtrack=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
{{#cargo_declare:_table=abbreviation|abbphrase=String|abb=String|abbtopic=List (,) of String|abbdesc=Text|abbpage=String|abblink=String|abbtag=String|abbtrack=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=abbreviation|abbphrase={{{abbphrase|}}}|abb={{{abb|}}}|abbtopic={{{abbtopic|}}}|abbdesc={{{abbdesc|}}}|abbpage={{{abbpage||}}}|abblink={{{abblink|}}}|abbtag={{{abbtag|}}}|abbtrack={{{abbtrack|}}} }}
<div class="irlbody irlabbdiv">
<div class="irlabbdiv" style="width:99%;float:left">
<div class="irlabbtop">
<div class="irlabbtop"><div class="irlabbabb">{{uc:{{{abb|}}} }} =</div>
<span class="irlabbabb">{{{Abb|}}} =</span><span class="irlabbphrase">{{{Term|}}}</span>{{#ifexist: {{SUBPAGENAME}} | <span class="irlabbpage">[[File:bullet_page.png|16px|top|alt=Article|link={{SUBPAGENAME}}]]</span> }}{{#if:{{{RelatedURL|}}}|<span class="irlabblink">[[File:bullet_www.png|16px|top|link={{{RelatedURL|}}}]]</span>| }}
<div class="irlabbphrase">{{{abbphrase|}}}<span class="irlabbpage">{{#if:{{{abbpage|}}}|[[File:bullet_page.png|16px|link={{{abbpage|}}}]]| }}</span><span class="irlabblink">{{#if:{{{abblink|}}}|[[File:bullet_www.png|16px|link={{{abblink|}}}]]| }}</span>
</div>
</div><!-- END irlabbphrase -->
{{#if:{{{Description|}}}|<div class="irlabbbottom"><span class="irlabbdesc">{{{Description|}}}</span></div>| }}
</div><!-- END irlabbtop -->
</div>
<div class="irlabbbottom">
<!-- {{#default_form:abbreviation}} -->
{{#if:{{{abbdesc|}}}|<div class="irlabbdesc">{{{abbdesc|}}}</div>| }}
<span class="irlabbtopic">{{#arraymap:{{{abbtopic|}}}|,|x| x }}</span>
</div><!-- END irlabbbottom -->
</div><!-- END irlabbdiv -->
{{#default_form:abbreviation}}
[[Category:Abbreviations]]
[[Category:Abbreviations]]
</includeonly>
</includeonly>

Revision as of 10:19, February 7, 2020

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

{{Abb
|Term=
|Abb=
|Description=
|RelatedURL=
|Poster=
|Postdate=
}}

Edit the page to see the template text.