Template:Def: Difference between revisions

From Electrical Installation Guide
(+ space)
(changed ''' to <b> tags)
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|}}}}}<noinclude>





Revision as of 13:15, 14 December 2016


Description

This template is used to add a reference to a figure, like "Fig. A11":

  • 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:

{{FigureRef|A11}}          ==>  figure A11
{{FigureRef|A11|A12}}      ==>  figure A11 and A12
{{FigureRef|A11|A12|A13}}  ==>  figure A11, A12 and A13