IT/Software/Mediawiki/Formatting Example: Difference between revisions
Jump to navigation
Jump to search
Access restrictions were established for this page. If you see this message, you have no access to this page.
Walttheboss (talk | contribs) |
Walttheboss (talk | contribs) |
||
Line 67: | Line 67: | ||
<gallery> | <gallery> | ||
File:Example.jpg|Item 1 | File:Example.jpg|Item 1 <br /> | ||
File:Example.jpg|a link to [[Help:Contents]] | File:Example.jpg|a link to [[Help:Contents]]<br /> | ||
File:Example.jpg | thumb | description | File:Example.jpg | thumb | description<br /> | ||
File:Example.jpg|alt=An example image. It has flowers | File:Example.jpg|alt=An example image. It has flowers<br /> | ||
File:Example.jpg|''italic caption'' | File:Example.jpg|''italic caption''<br /> | ||
Example.jpg|on page "{{PAGENAME}}" | Example.jpg|on page "{{PAGENAME}}"<br /> | ||
File:Using Firefox.pdf|page=72 | File:Using Firefox.pdf|page=72<br /> | ||
</gallery> | </gallery> | ||
</nowiki></code> | </nowiki></code> |
Revision as of 06:16, 4 February 2020
This is a header
- This is a sentence under the header.
- Above you will the Table of Contents
- It will normally only show after a certain number of headings.
- You can force it with __TOC__ anywhere on the page
Here are Lists
This is a section with a numbered list
- Thing 1
- Another thing
- sub things
- More things
- New things
This is a section with a unorderd list
- a thing
- a sub thing
- another sub thing
- next thing
- filler text yay
This is a section with combined lists
- First thing
- Unordered sub thing
- Another unordered sub thing
- Second Thing
- Ordered sub thing
Code Block Formating
#!/bin/bash #Turn backlight brighness up currentBrightness=$(cat "/sys/class/backlight/intel_backlight/brightness") newBrightness=$(($currentBrightness + 50)) if [[ $newBrightness>937 ]]; then echo 937 | tee /sys/class/backlight/intel_backlight/brightness else echo $newBrightness | tee /sys/class/backlight/intel_backlight/brightness fi
One Line Code Formating
#!/bin/bash
This is a section on Hidden Comments
<!-- Comment_Hidden -->
Links
Internal
External
- You simply do it like this.
- Note that there is no pipe.
- The last word in the brackets will show up as text.
[https://www.zoneedit.com/ ZoneEdit]
Pictures
- Internal
- External
- Gallery
- this is a nice way to disply a few pictures together.
<gallery>
File:Example.jpg|Item 1 <br />
File:Example.jpg|a link to [[Help:Contents]]<br />
File:Example.jpg | thumb | description<br />
File:Example.jpg|alt=An example image. It has flowers<br />
File:Example.jpg|''italic caption''<br />
Example.jpg|on page "{{PAGENAME}}"<br />
File:Using Firefox.pdf|page=72<br />
</gallery>