Template:SecHead: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><{{{type|span}}} class="editsection plainlinks" style="<!--float:right; margin-left:5px;--> font-weight:normal; font-style:normal; font-variant:normal; font-stretch:normal; font-size-adjust:none; line-height:normal; font-size:100%; font-family:sans-serif; text-decoration:none; color:#000000;"><span style="color:#002bb8;">[{{fullurl:{{{page|{{FULLPAGENAME}}}}}|action=edit{{#ifeq:{{{1|{{{section}}}}}}|-1||&section={{{1|{{{section|0}}}}}}}}}} edit</span>]</{{{type|span}}}></includeonly>
<includeonly><{{{type|span}}} class="editsection plainlinks" style="float:right; <!--margin-left:5px;--> font-weight:normal; font-style:normal; font-variant:normal; font-stretch:normal; font-size-adjust:none; line-height:normal; font-size:100%; font-family:sans-serif; text-decoration:none; color:#000000;"><span style="color:#002bb8;">[{{fullurl:{{{page|{{FULLPAGENAME}}}}}|action=edit{{#ifeq:{{{1|{{{section}}}}}}|-1||&section={{{1|{{{section|0}}}}}}}}}} edit</span>]</{{{type|span}}}></includeonly>
<noinclude>[[category:Coding utility templates]]{{lock}}{{documentation}}</noinclude>
<noinclude>[[category:Coding utility templates]]{{lock}}{{documentation}}</noinclude>

Revision as of 03:30, 12 October 2011

LockedTab.png
Instructions for {{SecHead}}
{{SecHead}} is an attempt at introducing a standard sectional head into other templates which produces an "edit" link and otherwise looks as if the section head had been created directly on the target page in the traditional wiki markup:
==Header==

{{SecHead}} itself is not meant to be placed directly on pages, as it only exists to be used inside other templates.