Template:FP link

From BerserkerLoop
Revision as of 07:03, 19 December 2022 by Crimsongaia (talk | contribs) (Created page with "<onlyinclude><includeonly><div class="fplink plainlinks {{#if:{{{image|}}}|image|}} {{#switch:{{lc:{{{size|}}} }}|wide={{lc:{{{size|}}} }} }}"><div class="box"><div class="row"><div class="cell">{{#if:{{{image|}}} |<div class="image">{{#if:{{{url|}}} | |{{#ifexist:File:{{{image|}}}|[[File:{{{image|}}}|link={{{1|}}}]]|<span class="nomobile">[[File:{{{image|}}}|Please upload 150x150 image]]</span>}} }}</div> |}}<div class="link">{{#if:{{{url|}}} |{{#if:{{{1|}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


This template is for creating the styled links used within boxes on the front page: BerserkerLoop. It relies heavily on CSS in MediaWiki:Common.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}}