Template:SecHead: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
m (Robot: Cosmetic changes)
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>
<{{{type|span}}} class="editsection plainlinks" style="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}}}><noinclude>[[Category:Coding utility templates]]{{lock}}{{documentation}}</noinclude>
{{==}}{{{1|}}}{{==}}<{{{type|div}}} 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|div}}}></includeonly>
<noinclude>[[category:Coding utility templates]]{{lock}}{{documentation}}</noinclude>

Latest revision as of 23:31, 30 January 2012

edit

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.