Difference between revisions of "Demo:HTMLAndJavaScriptLoading"

From PKC
Jump to navigation Jump to search
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="pageWiseDivision">
The following data is generated by MediaWiki's Template features and wrapped around with HTML code:
<h1>CURRENT TIME: {{CURRENTTIME}}</h1>
<h2>Server Name: {{SERVERNAME}}</h2>
__NOTOC__
__NOTOC__


<div id="mw-mywiki-example">
  <div class="myDiv">
   <h1><p>Here's a very interesting note displayed in a
   <p>The '''myDiv''' DIV class defined the style of this box. CURRENT TIME: {{CURRENTTIME}} </p>
   lovely shadowed box.</p></h1>
   </div>
 
<dl>
  <dt>Coffee</dt>
  <dd>Black hot drink</dd>
  <dt>Milk</dt>
  <dd>White cold drink</dd>
</dl>


This division is called: '''mw-mywiki-example'''
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.
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 22: Line 30:
<h6>Heading 6</h6>
<h6>Heading 6</h6>


 
<div class="shadowbox">
Mixing Templates with HTML code:
  <p>This box can be a place to hold signature or something else.</p>
 
</div>
<h1>CURRENT TIME: {{CURRENTTIME}}</h1>
<h2>Server Name: {{SERVERNAME}}</h2>  
 
 


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: 21:30

Server Name: pkc.pub


The myDiv DIV class defined the style of this box. CURRENT TIME: 21:30

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