Difference between revisions of "Demo:HTMLAndJavaScriptLoading"

From PKC
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="pageWiseDivision">
<div class="pageWiseDivision">
__NOTOC__
  <div class="myDiv">
  <p>This is a box defined in '''myDiv'''.</p>
  </div>


The following data is generated by MediaWiki's Template features and wrapped around with HTML code:
The following data is generated by MediaWiki's Template features and wrapped around with HTML code:
Line 10: Line 5:
<h1>CURRENT TIME: {{CURRENTTIME}}</h1>
<h1>CURRENT TIME: {{CURRENTTIME}}</h1>
<h2>Server Name: {{SERVERNAME}}</h2>  
<h2>Server Name: {{SERVERNAME}}</h2>  
__NOTOC__
  <div class="myDiv">
  <p>The '''myDiv''' DIV class defined the style of this box. CURRENT TIME: {{CURRENTTIME}} </p>
  </div>


<dl>
<dl>
Line 21: Line 22:


If the corresponding CSS rule in '''MediaWiki:Vector.css''' changes the definition of the division, then, many things in this division will be changed accordingly.
If the corresponding CSS rule in '''MediaWiki:Vector.css''' changes the definition of the division, then, many things in this division will be changed accordingly.
<div class="shadowbox">
  <p>Here's a very interesting note displayed in a
  lovely shadowed box.</p>
</div>


<h1>Heading 1</h1>
<h1>Heading 1</h1>
Line 35: Line 30:
<h6>Heading 6</h6>
<h6>Heading 6</h6>


 
<div class="shadowbox">
 
  <p>This box can be a place to hold signature or something else.</p>
 
</div>
 


Press <kbd>Enter</kbd>
Press <kbd>Enter</kbd>

Latest revision as of 11:35, 1 July 2021

The following data is generated by MediaWiki's Template features and wrapped around with HTML code:

CURRENT TIME: 06:38

Server Name: pkc.pub


The myDiv DIV class defined the style of this box. CURRENT TIME: 06:38

Coffee
Black hot drink
Milk
White cold drink

This division is called: mw-mywiki-example

If the corresponding CSS rule in MediaWiki:Vector.css changes the definition of the division, then, many things in this division will be changed accordingly.

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

This box can be a place to hold signature or something else.

Press Enter

(とう)(きょう)


  • E=mc2 (c is a constant not a variable)
  • {{TemplateName|parameter=value}}
  • If A then B