Difference between revisions of "Sandbox"

From CDOT Wiki
Jump to: navigation, search
(Admonitions)
 
(29 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{|class="mediawiki collapsible"
+
'''This page is for experimenting with wiki markup.''' Hit the "edit" or "view source" button to see the markup for the text; feel free to add and experiment with text on this page.
!Always displayed header
+
 
|-
 
|Optionally displayed text Optionally displayed text Optionally displayed text Optionally displayed text Optionally displayed text Optionally displayed text  
 
|}
 
  
 
Here is a link to a page on this wiki: [[People]]
 
Here is a link to a page on this wiki: [[People]]
Line 9: Line 6:
 
Here is a link with a different description: [[People|List of people involved in Open Source at Seneca]]
 
Here is a link with a different description: [[People|List of people involved in Open Source at Seneca]]
  
Here is link to a website: [http://fedoraproject.org] - note the numbered reference
+
Here is link to a website: [http://fedoraproject.org] - note the numbered references [http://cs.senecac.on.ca]
  
 
Here is a link to a website: http://fedoraproject.org
 
Here is a link to a website: http://fedoraproject.org
Line 24: Line 21:
  
 
'''bold''' text
 
'''bold''' text
 +
 +
Bulleted list:
 +
* Red
 +
* Blue
 +
* Green
 +
 +
Numbered list:
 +
# January
 +
# February
 +
# March
 +
 +
Various compond lists:
 +
* Seneca@York
 +
*# School of Computer Studies
 +
*# School of Communication Arts
 +
*# School of Biochemistry
 +
* Newnham
 +
** School of Brocolli Slicing
 +
** School of Fashionistas
 +
** School of Marshmallow Roasting
 +
  
 
= Top Heading =
 
= Top Heading =
Line 29: Line 47:
 
== Subheading ==
 
== Subheading ==
  
Text
+
Notice that the table-of-contents for this page (above) is automatically built from the sequence of headings and subheadings.
  
More text
+
Here is some more text
  
 
=== Sub-sub heading ===
 
=== Sub-sub heading ===
Line 37: Line 55:
 
Foo bar baz
 
Foo bar baz
  
== Another subheading ==
+
TESTING
 +
 
 +
== Code Blocks ==
 +
 
 +
Including a <code>command or filepath</code> in a block of text.
 +
 
 +
A block of code:  <!-- Indent each line one space -->
 +
 
 +
#!/bin/bash
 +
for X in {1..10}
 +
do
 +
  '''echo $X'''  # Note that you can still use attributes such as bold in a code block
 +
done
 +
 
 +
<code>
 +
rpm -q ''packagename''
 +
</code>
 +
 
 +
== Regular Tables ==
 +
 
 +
{|class="sortable" border="1" cellspacing="0" width="80%"
 +
 
 +
|-
 +
!Column 1 Header
 +
!Column 2 Header
 +
 
 +
|-
 +
|Row 1 Column 1
 +
|Row 1 Column 2
 +
 
 +
|-
 +
|Row 2 Column 1
 +
|Row 2 Column 2
 +
 
 +
|-
 +
|colspan="2"|Row 3 - Spanning both columns
 +
 
 +
|}
 +
 
 +
== Table example: Calendar ==
 +
 
 +
{|border="1" cellspacing="0" cellpadding="3" width="100%" rowheight="4em"
 +
|-
 +
!colspan="7"|May 2010
 +
|-
 +
!width="15%"|Su
 +
!width="14%"|Mo
 +
!width="14%"|Tu
 +
!width="14%"|We
 +
!width="14%"|Th
 +
!width="14%"|Fr
 +
!width="15%"|Sa
 +
|-
 +
|height="100px"|  ||  ||  ||  ||  ||  || 1
 +
|-
 +
|height="100px"| 2|| 3|| 4|| 5|| 6|| 7|| 8
 +
|-
 +
|height="100px"| 9||10||11||12||13||14||15
 +
|-
 +
|height="100px"|16||17||18||19||20||21||22
 +
|-
 +
|height="100px"|23||24 - Victoria Day||25||26||27||28||29
 +
|-
 +
|height="100px"|30||31||  ||  ||  ||  ||
 +
|}
 +
 
 +
== Collapsable Tables ==
 +
 
 +
See http://meta.wikimedia.org/wiki/Help:Collapsing for information on setting up collapsible tables like this (use the show/hide link to show or hide the contents):
 +
 
 +
{|class="collapsible" style="background: #c0c0c0" width="80%"
 +
!Always displayed header
 +
|-
 +
|
 +
Optionally displayed text
 +
Optionally displayed text
 +
Optionally displayed text
 +
Optionally displayed text
 +
Optionally displayed text!!!!!
 +
Optionally displayed text
 +
 
 +
|}
 +
 
 +
== Strikout ==
 +
 
 +
Testing <s>Testing</s>
 +
 
 +
== Admonitions ==
 +
 
 +
See [[:Category:Admonition templates]]
 +
 
 +
{{Admon/note | Please take note! | This is how you provide a general note to the user.}}
 +
 
 +
{{Admon/caution | Caution! | This is how you provide a caution note to the user. Note that the symbols looks more like "Never!" than "Caution!".}}
 +
 
 +
{{Admon/important | Important/warning! | This is how you provide a important note or warning to the user.}}
 +
 
 +
{{Admon/tip | Tip | Brilliant piece of advice.}}
 +
 
 +
{{Admon/lab | Lab Information | Information about the lab context.}}
 +
 
 +
{{Admon/obsolete |[[Pidora]]}}
 +
 
 +
{{Admon/obsolete}}
 +
 
 +
== Draft Status ==
 +
 
  
== Etc ==
+
{{Draft}}

Latest revision as of 20:54, 18 August 2019

This page is for experimenting with wiki markup. Hit the "edit" or "view source" button to see the markup for the text; feel free to add and experiment with text on this page.


Here is a link to a page on this wiki: People

Here is a link with a different description: List of people involved in Open Source at Seneca

Here is link to a website: [1] - note the numbered references [2]

Here is a link to a website: http://fedoraproject.org

Here is a link to a secure website (https): https://my.senecacollege.ca

Here is a website link with description: Fedora Project

Here is a link to a page on the Fedora wiki: fedora:Main Page

Here is a link to a page on the Fedora wiki with description: Fedora Project main page

italic text

bold text

Bulleted list:

  • Red
  • Blue
  • Green

Numbered list:

  1. January
  2. February
  3. March

Various compond lists:

  • Seneca@York
    1. School of Computer Studies
    2. School of Communication Arts
    3. School of Biochemistry
  • Newnham
    • School of Brocolli Slicing
    • School of Fashionistas
    • School of Marshmallow Roasting


Top Heading

Subheading

Notice that the table-of-contents for this page (above) is automatically built from the sequence of headings and subheadings.

Here is some more text

Sub-sub heading

Foo bar baz

TESTING

Code Blocks

Including a command or filepath in a block of text.

A block of code:

#!/bin/bash
for X in {1..10}
do
  echo $X  # Note that you can still use attributes such as bold in a code block
done

rpm -q packagename

Regular Tables

Column 1 Header Column 2 Header
Row 1 Column 1 Row 1 Column 2
Row 2 Column 1 Row 2 Column 2
Row 3 - Spanning both columns

Table example: Calendar

May 2010
Su Mo Tu We Th Fr Sa
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 - Victoria Day 25 26 27 28 29
30 31

Collapsable Tables

See http://meta.wikimedia.org/wiki/Help:Collapsing for information on setting up collapsible tables like this (use the show/hide link to show or hide the contents):

Always displayed header
Optionally displayed text
Optionally displayed text
Optionally displayed text 
Optionally displayed text 
Optionally displayed text!!!!!
Optionally displayed text 

Strikout

Testing Testing

Admonitions

See Category:Admonition templates

Note.png
Please take note!
This is how you provide a general note to the user.
Stop (medium size).png
Caution!
This is how you provide a caution note to the user. Note that the symbols looks more like "Never!" than "Caution!".
Important.png
Important/warning!
This is how you provide a important note or warning to the user.
Idea.png
Tip
Brilliant piece of advice.
Lab icon.png
Lab Information
Information about the lab context.
Important.png
This page may be obsolete.
It contains historical information. For current information, please see Pidora.
Important.png
This page may be obsolete.
It contains historical information.

Draft Status

Important.png
This is a draft only!
It is still under construction and content may change. Do not rely on this information.