Difference between revisions of "User:MyraMidnight/ideas"

From Krafties
Jump to navigation Jump to search
m (Replaced content with "==Experiment with floating div== Try resizing the window <div style="width:400px;height:400px;float:left;border:1px solid #000;background:cornflowerblue">box1</div> <div s...")
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
==Testing Changelog==
 +
{{changelog
 +
|item=necessitypack
 +
|version=4.0
 +
|blog=http://krafties.com/blog/?p=606}}
 +
 +
==Testing Message Box==
 +
Trying to make message boxes like on other wikis without Lua script extension ([[Mediawikiwiki:Extension:Scribunto|Extension:Scribunto]]).
 +
 +
*[[Template:Mbox|Mbox]]
 +
*[[Template:Message box|Message box]]
 +
 +
{{ambox|protect}}
 +
Number of pages in 'Templates' Category: {{PAGESINCATEGORY:Templates}}
 +
 +
*{{#switch: {{SUBPAGENAME}}
 +
  | sandbox
 +
  | testcases = {{BASEPAGENAME}}
 +
  | #default = {{PAGENAME}}
 +
  }}
 +
*{{#switch: {{SUBJECTSPACE}}
 +
  | {{ns:0}}
 +
  | {{ns:File}}
 +
  | {{ns:MediaWiki}}
 +
  | {{ns:Category}} = {{TALKSPACE}}
 +
  | #default = {{SUBJECTSPACE}}
 +
  }}
 +
*[[Special:Prefixindex/{{#if:{{{page|}}}|{{{page}}}|{{FULLPAGENAME}}}}/|{{{1|all subpages of this page}}}]]
 +
 +
<!--- snip of documentation/core ---->
 +
{{documentation/core
 +
| heading = {{{heading|¬}}}  <!--Empty but defined means no header-->
 +
| heading-style = {{{heading-style|}}}
 +
| content = {{{content|}}}
 +
| link box = {{{link box|}}}  <!--So "link box=off" works-->
 +
 +
| docpage =
 +
  {{#if: {{{1|}}}
 +
  | {{{1|}}}
 +
  | {{{docspace|{{NAMESPACE}}}}}:{{{template page|{{PAGENAME}}}}}/doc
 +
  }}
 +
| doc exist =
 +
  {{#ifexist:
 +
    {{#if: {{{1|}}}
 +
    | {{{1|}}}  <!--Other docname fed-->
 +
    | {{{docspace|{{NAMESPACE}}}}}:{{{template page|{{PAGENAME}}}}}/doc
 +
    }}
 +
  | yes
 +
  }}
 +
| docname fed =
 +
  {{#if: {{{1|}}}
 +
  | yes
 +
  }}
 +
 +
| sandbox =
 +
  {{{docspace|{{NAMESPACE}}}}}:{{{template page|{{PAGENAME}}}}}/sandbox
 +
| testcases =
 +
  {{{docspace|{{NAMESPACE}}}}}:{{{template page|{{PAGENAME}}}}}/testcases
 +
 +
| template page =
 +
  {{NAMESPACE}}:{{{template page|{{PAGENAME}}}}}
 +
 +
}}
 +
 +
====Message Box Experiements ====
 +
{{Mbox}}
 +
 
==Experiment with floating div==
 
==Experiment with floating div==
 
Try resizing the window
 
Try resizing the window
<div style="width:400px;height:400px;float:left;border:1px solid #000;background:cornflowerblue">box1</div>
+
 
<div style="height:400px;width:400px;float:right;border:1px solid #000;background:cornflowerblue">box2</div>
+
<div style="width:100%;height:400px;float:left;border:1px solid #000;background:cornflowerblue">Header</div>
<div style="height:400px;float:left;border:1px solid #000;background:cornflowerblue">box3</div>
+
<div style="min-width:400px;max-width:900px;min-height:400px;float:left;border:1px solid #000;background:cornflowerblue">box1{{clear}}
 +
{{Navigation}}</div>
 +
<div style="width:400px;min-height:400px;float:right;border:1px solid #000;background:cornflowerblue">box2</div>
 +
<div style="width:100%;height:400px;float:left;border:1px solid #000;background:cornflowerblue">Footer</div>

Latest revision as of 05:43, 11 May 2017

Testing Changelog[edit]

Necessity pack v4.0

Testing Message Box[edit]

Trying to make message boxes like on other wikis without Lua script extension (Extension:Scribunto).


Information icon4.png

Number of pages in 'Templates' Category: 28

subpage?

Message Box Experiements[edit]

{{{text}}}

Experiment with floating div[edit]

Try resizing the window

Header
box1
box2
Footer