Difference between revisions of "Jeff8356:Common wikitext"
(text block) |
|||
Line 10: | Line 10: | ||
===Larger images === | ===Larger images === | ||
Some text above...<br /> | Some text above...<br /> | ||
+ | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<br /> | ||
[[file:FL EPR.jpg|thumb|center|1000px|Untreated Inspiratory Flow Limitation]] <br /> | [[file:FL EPR.jpg|thumb|center|1000px|Untreated Inspiratory Flow Limitation]] <br /> | ||
Line 34: | Line 35: | ||
Some other stuff. Does not wrap the image. Any amount of text can be added between the images. | Some other stuff. Does not wrap the image. Any amount of text can be added between the images. | ||
+ | |||
+ | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | ||
[[File:New-contec-sm.png|thumb|left|250px|alt=CMS50F newer model|CMS50F newer model]] | [[File:New-contec-sm.png|thumb|left|250px|alt=CMS50F newer model|CMS50F newer model]] |
Revision as of 13:05, 8 September 2022
This page if for common wikitext used on Apnea Board and sort of a pseudo sandbox to test out new stuff. Feel free to use the talk function or copy any of the source. This page was created as more of a semi-permanent home for common code since the official Sandbox page gets reset occasionally.
Most of the sample code here is taken from the Wikitext help pages from Wikipedia. Although they use a lot of templates to get the job done, there are usually alternative ways of achieving the same results without templates.
Mediawiki help pages are another good source for wikitext.
Contents
Images and text flow
Larger images
Some text above...
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Some text below
Text will not wrap the image if you use "center" or "none" after |thumb|
No tables, flowing text
Testing images and text flow using <br clear=all> and also <div style="clear:both"></div>
Both do the same thing as seen below.
No tables involved
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
<br clear=all> used here
Some other stuff. Does not wrap the image. Any amount of text can be added between the images.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
<div style="clear:both"></div> used here
Even more text that does not wrap the image
Tables with borders
Using tables with borders
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | |
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. |
Tables without borders
Using tables without borders
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | |
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. |
Citation test
Template:Citation We currently do not have a citation template but simple citations can still be done.
Sample citation one [1]
Sample citation two [2]
These will appear in the References section at the end of the page using <references />
Text block
Sample text without the text block
Sample text in a text block
Just indent the line a couple of spaces and the text is placed in a block like above.
Math symbols
π·r2·h
To convert Hours:minutes:seconds to decimal. Example: 8:23:17
hour × 1 + ((minutes ÷ 60) + (seconds ÷ 3600)) 8*1 + 23/60 + 17/3600 8 + 0.3833 + 0.0047 = 8.388 hours
References
- ↑ Searching Apnea Board - http://www.apneaboard.com/forums/search.php
- ↑ Getting Help - http://www.apneaboard.com/forums/misc.php?action=help
Donate to Apnea Board