Massive Chalice Wiki
SBEyes (talk | contribs)
SBEyes (talk | contribs)
Line 1: Line 1:
 
<onlyinclude><includeonly><div class="fplink plainlinks {{#if:{{{image|}}}|image|}}"><div class="box"><div class="row"><div class="cell">{{#if:{{{image|}}}
 
<onlyinclude><includeonly><div class="fplink plainlinks {{#if:{{{image|}}}|image|}}"><div class="box"><div class="row"><div class="cell">{{#if:{{{image|}}}
|<div class="image small">{{#if:{{{url|}}}
+
|<div class="image">{{#if:{{{url|}}}
 
|
 
|
|{{#ifexist:{{{image|}}}|[[File:{{{image|}}}|link={{{1|}}}]]|<span class="nomobile">[[File:{{{image|}}}|link={{{1|}}}|Please upload 200x200 image]]</span>}}
+
|{{#ifexist:File:{{{image|}}}|[[File:{{{image|}}}|link={{{1|}}}]]|<span class="nomobile">[[File:{{{image|}}}|Please upload 200x200 image]]</span>}}
 
}}</div>
 
}}</div>
 
|}}<div class="link">{{#if:{{{url|}}}
 
|}}<div class="link">{{#if:{{{url|}}}

Revision as of 22:50, 12 February 2015

Template-info.png Documentation

This template is for creating the styled links used within boxes on the front page: Massive Chalice Wiki. It relies heavily on CSS in MediaWiki:Hydradark.css and MediaWiki:Mobile.css.

Basic links

For the most basic links, the usage is as follows for a standard wiki link:

{{FP link|page name}}
{{FP link|page name|link text}}

For external links, the usage is:

{{FP link|url=http://www.example.com}}
{{FP link|url=http://www.example.com|link text}}