• New article from the Springfield Shopper: Season 36 News: A new episode title, “P.S., I Hate You”, has been announced!
  • New article from the Springfield Shopper: Season 36 News: More Preview Images and Details for “O C’mon All Ye Faithful” have been released!
  • Wikisimpsons needs more Featured Article, Picture, Quote, Episode and Comprehensive article nominations!
  • Wikisimpsons has a Discord server! Click here for your invite! Join to talk about the wiki, Simpsons and Tapped Out news, or just to talk to other users.
  • Make an account! It's easy, free, and your work on the wiki can be attributed to you.
TwitterFacebookDiscord

Difference between revisions of "Template:Icons"

Wikisimpsons - The Simpsons Wiki
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#switch:{{{semi|}}}|yes=<div style="position:absolute; z-index:100; right:100px; top:0px;" class="metadata" id="featured-star">[[File:Semi-Lock.png|27px|This article is semi-protected.]]</div>}}
+
{{#if:{{{1|}}}|<div style="position:absolute; z-index:100; right:38px; top:17%;" class="metadata" id="featured-star">{{{{{1|}}}}}</div>}}
 +
{{#if:{{{2|}}}|<div style="position:absolute; z-index:100; right:78px; top:17%;" class="metadata" id="featured-star">{{{{{2|}}}}}</div>}}
 +
{{#if:{{{3|}}}|<div style="position:absolute; z-index:100; right:120px; top:17%;" class="metadata" id="featured-star">{{{{{3|}}}}}</div>}}<noinclude>
  
{{#switch:{{{rw|}}}|yes=<div style="position:absolute; z-index:100; right:54px; top:4px;" class="metadata" id="featured-star">[[File:Real-world.png|37px|link=|This article is written in a real-world perspective.]]</div>}}
+
== Usage ==
 +
Use up to three parameters. Parameters can be placed in any order but should go from 1 to 3: Real-world, Featured Icon, Protection Icon. Not all three are needed.
  
{{#switch:{{{fep|}}}|yes=<div style="position:absolute; z-index:100; right:11px; top:8px;" class="metadata" id="featured-star">[[File:The Simpsons TV.png|link=Wikisimpsons:Featured episode|40px|This article is a featured episode!]]</div>}}
+
Parameter names are:
 
+
*RW - Real-world
{{#switch:{{{fa|}}}|yes=<div style="position:absolute; z-index:100; right:11px; top:8px;" class="metadata" id="featured-star">[[File:Donut.png|link=Wikisimpsons:Featured article|40px|This article is a featured article!]]</div>}}
+
*FA - Featured Article
 
+
*FE - Featured Episode
{{#switch:{{{comp|}}}|yes=<div style="position:absolute; z-index:100; right:11px; top:8px;" class="metadata" id="featured-star">[[File:Duff 2.png|40px|link=Category:Comprehensive articles|This is a comprehensive article. It contains all known information.]]</div>}}<noinclude>[[Category:Templates]]</noinclude>
+
*CA - Comprehensive Article
 +
*FPic - Featured Picture
 +
*SP - Semi-Protected
 +
*FullP - Fully-Protected
 +
[[Category:Templates]][[Category:Icon templates]]</noinclude>

Latest revision as of 12:50, April 14, 2024



Usage[edit]

Use up to three parameters. Parameters can be placed in any order but should go from 1 to 3: Real-world, Featured Icon, Protection Icon. Not all three are needed.

Parameter names are:

  • RW - Real-world
  • FA - Featured Article
  • FE - Featured Episode
  • CA - Comprehensive Article
  • FPic - Featured Picture
  • SP - Semi-Protected
  • FullP - Fully-Protected