Template:Def: Difference between revisions

From Electrical Installation Guide
No edit summary
m (Protected "Template:Def" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if: {{{1|}}}|'''{{{1|}}}''': {{{2|}}}}}{{#if: {{{3|}}}|<br>'''{{{3|}}}''': {{{4|}}}}}{{#if: {{{5|}}}|<br>'''{{{5|}}}''': {{{6|}}}}}{{#if: {{{7|}}}|<br>'''{{{7|}}}''': {{{8|}}}}}{{#if: {{{9|}}}|<br>'''{{{9|}}}''': {{{10|}}}}}{{#if: {{{11|}}}|<br>'''{{{11|}}}''': {{{12|}}}}}{{#if: {{{13|}}}|<br>'''{{{13|}}}''': {{{14|}}}}}{{#if: {{{15|}}}|<br>'''{{{15|}}}''': {{{16|}}}}}{{#if: {{{17|}}}|<br>'''{{{17|}}}''': {{{18|}}}}}<noinclude>
{{#if: {{{1|}}}|<b>{{{1|}}}</b> = {{{2|}}}}}{{#if: {{{3|}}}|<br><b>{{{3|}}}</b> = {{{4|}}}}}{{#if: {{{5|}}}|<br><b>{{{5|}}}</b> = {{{6|}}}}}{{#if: {{{7|}}}|<br><b>{{{7|}}}</b> = {{{8|}}}}}{{#if: {{{9|}}}|<br><b>{{{9|}}}</b> = {{{10|}}}}}{{#if: {{{11|}}}|<br><b>{{{11|}}}</b> = {{{12|}}}}}{{#if: {{{13|}}}|<br><b>{{{13|}}}</b> = {{{14|}}}}}{{#if: {{{15|}}}|<br><b>{{{15|}}}</b> = {{{16|}}}}}{{#if: {{{17|}}}|<br><b>{{{17|}}}</b> = {{{18|}}}}}{{#if: {{{19|}}}|<br><b>{{{19|}}}</b> = {{{20|}}}}}{{#if: {{{21|}}}|<br><b>{{{21|}}}</b> = {{{22|}}}}}{{#if: {{{23|}}}|<br><b>{{{23|}}}</b> = {{{24|}}}}}{{#if: {{{25|}}}|<br><b>{{{25|}}}</b> = {{{26|}}}}}{{#if: {{{27|}}}|<br><b>{{{27|}}}</b> = {{{28|}}}}}{{#if: {{{29|}}}|<br><b>{{{29|}}}</b> = {{{30|}}}}}{{#if: {{{31|}}}|<br><b>{{{31|}}}</b> = {{{32|}}}}}{{#if: {{{33|}}}|<br><b>{{{33|}}}</b> = {{{34|}}}}}{{#if: {{{35|}}}|<br><b>{{{35|}}}</b> = {{{36|}}}}}{{#if: {{{37|}}}|<br><b>{{{37|}}}</b> = {{{38|}}}}}{{#if: {{{39|}}}|<br><b>{{{39|}}}</b> = {{{40|}}}}}{{#if: {{{41|}}}|<br><b>{{{41|}}}</b> = {{{42|}}}}}{{#if: {{{43|}}}|<br><b>{{{43|}}}</b> = {{{44|}}}}}{{#if: {{{45|}}}|<br><b>{{{45|}}}</b> = {{{46|}}}}}{{#if: {{{47|}}}|<br><b>{{{47|}}}</b> = {{{48|}}}}}{{#if: {{{49|}}}|<br><b>{{{49|}}}</b> = {{{50|}}}}}<noinclude>




[[Category:Utility templates|{{PAGENAME}}]]
[[Category:eig-other-templates|{{PAGENAME}}]]




== Description ==
== Description ==


This template is used to add a reference to a figure, like "Fig. A11":
This template is used to add a list of Definitions, looking like:
* it includes a ''span'' element of class="FigRef" around the figure reference (A11)
* the acronym used for "Fig." in local language is coming from system message mediawiki:figure-acronym  (to be created / localized in new wikis)
* the word to use for "and" in local language is coming from system message mediawiki:eig_and  (to be created / localized in new wikis)


This template can have 1, 2 or 3 arguments:
'''term''' = definition of term<br>
'''term''' = definition of term<br>
'''term''' = definition of term<br>
...


  <nowiki>{{FigureRef|A11}}</nowiki>         ==>  figure A11
This template can have upto 30 definitions (eg 40 arguments):
  <nowiki>{{FigureRef|A11|A12}}</nowiki>     ==> figure A11 and A12
 
  <nowiki>{{FigureRef|A11|A12|A13}}</nowiki> ==>  figure A11, A12 and A13
  <nowiki>{{Def</nowiki>
<nowiki>|term1|definition1</nowiki>
  <nowiki>|term2|definition2</nowiki>
  ...
  <nowiki>|term30|definition30</nowiki>
 
nota: the = sign is added by the template, should not be included in the definitions


</noinclude>
</noinclude>

Latest revision as of 22:32, 22 December 2019


Description

This template is used to add a list of Definitions, looking like:

term = definition of term
term = definition of term
term = definition of term
...

This template can have upto 30 definitions (eg 40 arguments):

{{Def
|term1|definition1
|term2|definition2
...
|term30|definition30

nota: the = sign is added by the template, should not be included in the definitions