Difference between revisions of "User:DennouNeko/Fairies"

From Touhou Wiki
Jump to navigation Jump to search
m (fixing a typo)
(fix for MediaWiki 1.22)
Line 2: Line 2:
 
  -->{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|{{DISPLAYTITLE:<!--
 
  -->{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|{{DISPLAYTITLE:<!--
  
   --><span style="display: block; width: 96%; height: {{#switch:{{{fairy|}}}<!--
+
   --><span class="user-fairy-{{#switch:{{{fairy|}}}<!--
   -->|lilly|lily=71px<!--
+
   -->|lilly|lily=lily<!--
   -->|sunny=46px<!--
+
   -->|sunny=sunny<!--
   -->|star=57px<!--
+
   -->|star=star<!--
   -->|#default|daiyousei|cirno|luna=50px<!--
+
  -->|luna=luna<!--
   -->}};"></span><!--
+
   -->|#default|daiyousei|cirno=cirno<!--
 +
   -->}}"><span class="user-fairy-pre"></span><!--
 
   -->{{FULLPAGENAME}}<!--
 
   -->{{FULLPAGENAME}}<!--
   --><span id="{{#switch:{{{fairy|}}}<!--
+
   --><span class="user-fairy-container"><span class="user-fairy-image"></span></span></span>}}<!--
  -->|sunny=mp-Games<!--
 
  -->|luna=mp-Music<!--
 
  -->|star=mp-PrintWorks<!--
 
  -->|lilly|lily=mp-News<!--
 
  -->|#default|daiyousei|cirno=mp-Welcome<!--
 
  -->}}" class="mp-box mp-wide" style="width: 100%; display: block; position: relative; right: 0; bottom: 0;"><!--
 
  --><span class="mp-innerBox" style="width: 100%; border: none; display: block; position: absolute; right: 0; bottom: 3px;"><!--
 
  --><span class="mp-image" style="display:block;{{#switch:{{{fairy|}}}<!--
 
  -->|sunny=height: 83px; top: -65px;<!--
 
  -->|luna=height: 83px; top: -69px;<!--
 
  -->|star=height: 83px; top: -76px;<!--
 
  -->|lilly|lily=right: 0; top: -90px;<!--
 
  -->|#default|daiyousei|cirno=<!--
 
  -->}}" title="Image by Leo"><!--
 
--></span></span></span>}}<!--
 
 
-->[[Category:Fairies in profile]]}}}}</includeonly><noinclude>
 
-->[[Category:Fairies in profile]]}}}}</includeonly><noinclude>
 
{{Documentation
 
{{Documentation

Revision as of 21:49, 10 January 2014

Documentation

Usage

Place {{:User:DennouNeko/Fairies|fairy=cirno}} anywhere on user's main page or user talk page to add Cirno and Daiyousei to the title, or change the fairy parameter to add one of the following:
cirno
or
daiyousei
Cirno and Daiyousei
(default, when there's no fairy)
 
sunnySunny Milk
 
lunaLuna Child
 
starStar Sapphire
 
lilyLily White
 

This template won't work in any other namespace or in subpages.

Pages using this template are automatically added to a Fairies in profile category.

Disclaimer

Images by Leo

The method I used is allowed by MediaWiki script (MediaWiki FAQ).

This template's content will be cleared if administration or Leo will claim that reusing main page's images in users' profiles violates any kind of agreement or copyright law.