Template:Def: Difference between revisions
From Electrical Installation Guide
(creation) |
No edit summary |
||
Line 1: | Line 1: | ||
{{#if: {{{1|}}}|'''{{{1|}}}''': {{{2|}}}}} | {{#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|}}}}} | ||
{{#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> | <noinclude> | ||
Revision as of 15:52, 16 November 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