Template:Featured topic box and Template:Featured topic box/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
SounderBruce (talk | contribs) m fixing edit button |
move that to documentation |
||
Line 2: | Line 2: | ||
<div class="featured-topic-box" {{#if:{{{width|}}}{{{style|}}}|style="{{#if:{{{width|}}}|width: {{{width}}};}}{{{style|}}}"}}> |
<div class="featured-topic-box" {{#if:{{{width|}}}{{{style|}}}|style="{{#if:{{{width|}}}|width: {{{width}}};}}{{{style|}}}"}}> |
||
<div class="featured-topic-box-title-bar"> |
<div class="featured-topic-box-title-bar"> |
||
{{#ifeq:{{{small|}}}|yes||<div class="featured-topic-box-navbar noprint">{{#ifeq:{{lc:{{{view}}}}}|yes|[[Wikipedia:Featured_topics/{{{title|}}}|view]] {{!}}}} [[Special:Edit |
{{#ifeq:{{{small|}}}|yes||<div class="featured-topic-box-navbar noprint">{{#ifeq:{{lc:{{{view}}}}}|yes|[[Wikipedia:Featured_topics/{{{title|}}}|view]] {{!}}}} [[Special:Edit/{{{title|}}}|edit]] {{!}} [[WT:Featured topics/{{{title|}}}|discuss]]</div>}} |
||
<div class="featured-topic-box-title">{{{lead}}}</div> |
<div class="featured-topic-box-title">{{{lead}}}</div> |
||
{{#ifeq:{{{small|}}}|yes||<div class="featured-topic-box-count"> |
{{#ifeq:{{{small|}}}|yes||<div class="featured-topic-box-count"> |