Template:Featured article

From Arcen Wiki
Revision as of 18:06, 31 January 2015 by Zogheen (talk | contribs) (20 revisions: Taken from http://www.uesp.net)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Summary

This template places a star on the top right of the screen. It also categorizes the article into Featured Articles.

Parameters

Featured article
Parameter Scope Description

{{#splitargs:Parameters/Line|3}}

Example

{{Featured article{{#unset:1}}{{#splitargs:Tlpx/Parameter|1}}}} {{#inherit:topiconsright}}<cleanspace> {{#define:image|Featured star.png }} {{#define:label|Featured Article }} {{#define:link|UESPWiki:Featured Articles }} {{#define:width|18 }} {{#define:align|right }} {{#define:sideindent|0}} {{#define:topindent|-23 }} {{#local:sideindent|{{#explode:{{{sideindent}}}|px|0}}}} {{#local:topindent|{{#explode:{{{topindent}}}|px|0}}}} {{#local:width|{{#explode:{{{width}}}|px|0}}}} {{#local:width|{{#mediawidth:{{{image}}}}}|if=}} {{#inherit:topicons{{{align}}}}}

</cleanspace><div class="pageicon{{{align}}}" style="position:absolute; z-index:50; {{{align}}}:Expression error: Unrecognized punctuation character "{".px; top:{{{topindent}}}px; ">[[File:{{{image}}}|]]<cleanspace>

{{#local:topicons{{{align}}}|Expression error: Unrecognized punctuation character "{".}} {{#return:topicons{{{align}}}}} </cleanspace>{{#return:topiconsright}} Produces star at top right. (Category suppressed for documentation.)