Difference between revisions of "Template:Editnotice load/test1"

From blackwiki
Jump to navigation Jump to search
imported>Davidgothberg
(Back to version previous version 14:12, 7 January 2010, to test the IE bug again.)
imported>Davidgothberg
(Weird IE bug... Adding back "width: 100%;" to the editnotice-namespace div. And also adding it to the whole editnotice-area div, since that also fixes it (belts and braces approach).)
Line 1: Line 1:
<div id="editnotice-area" class="editnotice-area" style="clear: both;"><!--
+
<div id="editnotice-area" class="editnotice-area" style="clear: both; width: 100%;"><!--
 
   Namespace notice:
 
   Namespace notice:
 
-->{{#ifeq: {{{notice action|}}} | view
 
-->{{#ifeq: {{{notice action|}}} | view
 
|  <!--"Viewing the source" of a protected page, don't show namespace notice-->
 
|  <!--"Viewing the source" of a protected page, don't show namespace notice-->
 
| {{#ifexist: Template:Editnotices/Namespace/{{#if:{{NAMESPACE}}|{{NAMESPACE}}|Main}}
 
| {{#ifexist: Template:Editnotices/Namespace/{{#if:{{NAMESPACE}}|{{NAMESPACE}}|Main}}
   | <div class="editnotice-namespace"> {{Template:Editnotices/Namespace/{{#if:{{NAMESPACE}}|{{NAMESPACE}}|Main}}}} </div>
+
   | <div class="editnotice-namespace" style="width: 100%;"> {{Template:Editnotices/Namespace/{{#if:{{NAMESPACE}}|{{NAMESPACE}}|Main}}}} </div>
 
   }}
 
   }}
 
}}<!--
 
}}<!--

Revision as of 19:27, 7 January 2010


David's sandbox for {{editnotice load}}

Here David Göthberg is testing and showing new code versions. Please do not edit this page. If you want to experiment do so in {{editnotice load/sandbox}} or create your own subpage under {{editnotice load}} or in your own user space.

The area above the header is template code on this page, the examples below are transclusions of this page and show how that code renders when used. If you anyway have updated the code above then you have to Script error: No such module "Purge". to see the effect on the examples below.


{{editnotice load/test1}}


{{editnotice load/test1| notice action=view }}


Testing {{editnotice load}}

{{editnotice load}}


Testing some code parts

1: Doesn't exist

2: Doesn't exist

3: Namespace notice returns an empty string.