Scheduled system upgrade on Sunday 21 April 2024 15:00-16:00 UTC - On that day, the wiki and other services might go down for 5-15 minutes.

Template:Linkbox and Template:Spaces: Difference between pages

From ZeldaMods (Breath of the Wild)
(Difference between pages)
Jump to navigation Jump to search
imported>Leoetlino
(set default color)
 
(use class)
 
Line 1: Line 1:
<templatestyles src="linkbox/styles.css" />
<span class="nowrap">{{#iferror:{{#expr:{{{1|1}}}}}
<div class="linkbox">
  |{{#switch:{{{1}}}
<i class="linkbox-icon fa-fw {{{faiconc}}}" style="color: {{{iconcolor|#003150}}}"></i>
    |fig=&#8199;
<span class="linkbox-title">{{{title}}}</span>
    |en=&ensp;
<p class="linkbox-text">{{{text}}}</p>
    |em=&emsp;
</div><noinclude>[[Category:ZeldaMods templates]]<templatedata>
    |thin=&thinsp;
{
    |hair=&#8202;
"params": {
    |&nbsp;
"title": {
  }}
"type": "content",
  |{{#invoke:String|rep|{{#switch:{{{2}}}
"required": true
    |fig=&#8199;
},
    |en=&ensp;
"text": {
    |em=&emsp;
"type": "content",
    |thin=&thinsp;
"required": true
    |hair=&#8202;
},
    |&nbsp;
"faiconc": {
  }}|{{{1|1}}}}}
"label": "Font Awesome icon class",
}}</span><noinclude>
"example": "far far-copy",
{{documentation}}
"suggested": true
},
"iconcolor": {
"label": "Icon color (CSS color)",
"type": "string"
}
},
"format": "block"
}
</templatedata>
</noinclude>
</noinclude>

Revision as of 11:38, 25 October 2015

 

Template documentation[create]