7,178
edits
Bfdifan2006 (talk | contribs) mNo edit summary |
Bfdifan2006 (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<noinclude>{{mainspace|template}}This is a new version of {{template|Featured}}. It uses | <noinclude>{{mainspace|template}}This is a new version of {{template|Featured}}. It uses the {{template|ifexist}} template, which does not put the talk page to the list of wanted pages if it does not exist. Also, it uses the {{User:Bfdifan2006/code|<indicator>}} tag, which adds an indicator to the top right of the page (this will come useful if we get more templates that utilize such indicators).</noinclude> | ||
<indicator name="featured">[[File:GlassOrnamentSprite.png|{{PAGENAME}} is a featured article]]</indicator> | <indicator name="featured">[[File:GlassOrnamentSprite.png|{{PAGENAME}} is a featured article]]</indicator> | ||
<div <!--class="messagebox"--> style="{{roundy|30px}};margin:auto;display:flex;align-items:center;background-color:#FAFFF4;max-width:clamp(425px,35%,750px);border:2px solid #{{bulba color}};padding:1px;"> | <div <!--class="messagebox"--> style="{{roundy|30px}};margin:auto;display:flex;align-items:center;background-color:#FAFFF4;max-width:clamp(425px,35%,750px);border:2px solid #{{bulba color}};padding:1px;"> | ||
<div <!--class="messagebox-img"--> style="{{roundy|25px}};background-color:#{{bulba color light}};padding:10px;">[[File:Smart Ribbon Master Sinnoh.png]]</div> | <div <!--class="messagebox-img"--> style="{{roundy|25px}};background-color:#{{bulba color light}};padding:10px;">[[File:Smart Ribbon Master Sinnoh.png]]</div> | ||
<div <!--class="messagebox-content"--> style="padding:0 10px;margin:auto">This article was {{#if:{{{page|}}}|[[{{{page}}}|selected]]|{{ | <div <!--class="messagebox-content"--> style="padding:0 10px;margin:auto">This article was {{#if:{{{page|}}}|[[{{{page}}}|selected]]|{{ifexist|{{FULLPAGENAME}}/Featured article candidate|[[{{TALKSPACE}}:{{PAGENAME}}/Featured article candidate|selected]]|selected}}}} as the '''[[Bulbapedia:What is a featured article?|featured article]]''' of {{#time:F Y|{{{time|}}}}}.</div></div></div> | ||
<!--<includeonly>{{#ifeq:{{{nocat|}}}|yes||[[Category:Featured articles|{{PAGENAME}}]]}}</includeonly>--><noinclude>Parameters: | <!--<includeonly>{{#ifeq:{{{nocat|}}}|yes||[[Category:Featured articles|{{PAGENAME}}]]}}</includeonly>--><noinclude>Parameters: | ||
* {{User:Bfdifan2006/code|page}} — allows to specify a page other than {{User:Bfdifan2006/code|''Talk namespace name'':''Article name''/Featured article candidate|}} as the linked page. | * {{User:Bfdifan2006/code|page}} — allows to specify a page other than {{User:Bfdifan2006/code|''Talk namespace name'':''Article name''/Featured article candidate|}} as the linked page. |
edits