Difference between revisions of "Help:Wikitext"
ArvindIOTF (talk | contribs) (Initial) |
m (→Colour) |
||
(7 intermediate revisions by one other user not shown) | |||
Line 18: | Line 18: | ||
**Category The page can be added to one or more Category used to help navigation | **Category The page can be added to one or more Category used to help navigation | ||
**Message to readers, editors that the page needs attention | **Message to readers, editors that the page needs attention | ||
− | **Templates <nowiki>{{TemplateName}}<nowiki> can be used to inject reusable text and formatting for consistent style. | + | **Templates <nowiki>{{TemplateName}}</nowiki> can be used to inject reusable text and formatting for consistent style. Templates can have parameters and can function as a <code>subroutine with special code</code>. |
− | **''Tracker Categories'' add the article or section to tracker category which can be used to list Articles needing attention ( Stub, need expansion, need cleanup for advertisement ). Frequently done thru Templates. | + | **''Tracker Categories'' add the article or section to ''tracker or administrative category'' ( not a Article navigation hierarchy or taxonomy) which can be used to list Articles needing attention ( Stub, need expansion, need cleanup for advertisement ). Frequently done thru Templates. |
'''Usage''' | '''Usage''' | ||
− | See MediWiki illustrated examples [https://meta.wikimedia.org/wiki/Help:Wikitext_examples | + | See MediWiki illustrated examples [https://meta.wikimedia.org/wiki/Help:Wikitext_examples Wikitext examples]. |
+ | ==Templates== | ||
+ | Templates insert text and other wikitext at run time into pages. This allows modular construction of pages and consistent formatting and messages. See articles under [[:Category:Showcase]] for an annotation that these articles belong to a special group. | ||
+ | |||
+ | This is what you place <nowiki>{{Showcase|test of template}}</nowiki> and this is what you get | ||
+ | |||
+ | {{Showcase|test of template}} | ||
+ | |||
Wikipedia templates are not available by default in IoTWiki and need to be imported and may need developer assistance. See Some templates in Wikipedia | Wikipedia templates are not available by default in IoTWiki and need to be imported and may need developer assistance. See Some templates in Wikipedia | ||
* [[https://en.wikipedia.org/wiki/Wikipedia:Template_messages| Messages]] | * [[https://en.wikipedia.org/wiki/Wikipedia:Template_messages| Messages]] | ||
Line 29: | Line 36: | ||
* [[https://en.wikipedia.org/wiki/Wikipedia:List_of_infoboxes| InfoBoxes]] | * [[https://en.wikipedia.org/wiki/Wikipedia:List_of_infoboxes| InfoBoxes]] | ||
* [[https://en.wikipedia.org/wiki/Wikipedia:Navigation_template| Navigation Boxes]] | * [[https://en.wikipedia.org/wiki/Wikipedia:Navigation_template| Navigation Boxes]] | ||
+ | |||
+ | ==No Grammer== | ||
+ | Wikitext has no official grammar or syntax and evolves over time. This has made it difficult for a proper WYSIWYG editor. | ||
+ | ==HTML== | ||
+ | Wikitext mixes withe [https://meta.m.wikimedia.org/wiki/Help:HTML_in_wikitext restricted HTML] . IMG and Anchor tag are not supported. Image formatting is restricted to wikitext options. Style attribute is supported but borders and size may not work. | ||
+ | ===Colour=== | ||
+ | See [[Help:Colour]]. | ||
+ | ''Prefer'' lavender, skyblue,lightbrown,silver,amber,beige, khaki,lightcyan,lightsteelblue | ||
+ | {| | ||
+ | ! Category !! Color-Code !! Color-Name | ||
+ | |- | ||
+ | ! bgcolor="yellow" | Singles || #FFFF00 || yellow | ||
+ | |- | ||
+ | ! bgcolor="khaki" | Protists || #F0E68C || khaki | ||
+ | |- | ||
+ | ! bgcolor="lavender" | Saints || #B57EDC || lavender | ||
+ | |- | ||
+ | ! bgcolor="#87CEEB" | Planes || #87CEEB || skyblue | ||
+ | |- | ||
+ | ! bgcolor="lightskyblue" | Royal Air Force Squadrons|| #87CEFA || lightskyblue | ||
+ | |- | ||
+ | ! bgcolor="deepskyblue" | Royal Air Force Stations|| #00BFFF || deepskyblue | ||
+ | |- | ||
+ | ! style="background: navy; color: white" | Ships || #000080 || Navy | ||
+ | |- | ||
+ | ! bgcolor="plum" | Cover and tribute albums || #DDA0DD || plum | ||
+ | |- | ||
+ | ! bgcolor="lightgrey" | Bacteria || #D3D3D3 || lightgrey | ||
+ | |- | ||
+ | ! bgcolor="silver" | Constellations || #C0C0C0 || silver | ||
+ | |- | ||
+ | ! bgcolor="darkgray" | Archaea || #A9A9A9 || darkgray | ||
+ | |- | ||
+ | ! bgcolor="lightsteelblue" | NFL Football players || #B0C4DE || lightsteelblue | ||
+ | |- | ||
+ | ! bgcolor="#F8EABA" | Entertainer || #F8EABA || lightbrown | ||
+ | |- | ||
+ | ! bgcolor="#D3D3D3" | Director || #D3D3D3 || lightgrey | ||
+ | |- | ||
+ | ! bgcolor="#87CEFA" | Male actor || #87CEFA || lightskyblue | ||
+ | |- | ||
+ | ! bgcolor="#FFF8C6" | Child star || #FFF8C6 || beige | ||
+ | |- | ||
+ | ! bgcolor="#FFD700" | Model || #FFD700 || gold | ||
+ | |- | ||
+ | ! bgcolor="#FFFF00" | Announcer || #FFFF00 || yellow | ||
+ | |- | ||
+ | ! bgcolor="#F0E68C" | Singer || #F0E68C || khaki | ||
+ | |- | ||
+ | ! bgcolor="#E0FFFF" | Male singer || #E0FFFF || lightcyan | ||
+ | |- | ||
+ | ! bgcolor="#B0C4DE" | Group || #B0C4DE || lightsteelblue | ||
+ | |} | ||
+ | |||
+ | ==CheatSheet== | ||
+ | [[File:Wiki markup cheatsheet_commons_help.jpg| left|upright|border| CheatSheet]] |
Latest revision as of 01:45, 21 November 2017
WikiText[edit]
Wikitext is special markup used by the MediaWiki software to render text as wiki pages. The final rendered page is in HTML. It was intended to simply HTML creation when visual editors were not so common. While visual editors are now common most still do not support the full range and it is important to know the basic concepts of Wikitext for being an effective author of pages in IoTWiki.
Wikitext do the following
- Format
Bold, italics, underline text
- Structure
- Insert picture or other media
- Implicitly create sections and add to Automatically created Table of Contents(ToC)
- Tables and columns
- mark references,footnotes, citations
- Internal links within IoTWiki to a page or a section in a page.
- Intralinks to Wikipedia
- external links
- Processing Directives
- Instruct the page renderer to do special stuff.Like insert a refrences or Also See list, ToC etc or redirect the user to another page.
- Category The page can be added to one or more Category used to help navigation
- Message to readers, editors that the page needs attention
- Templates {{TemplateName}} can be used to inject reusable text and formatting for consistent style. Templates can have parameters and can function as a
subroutine with special code
. - Tracker Categories add the article or section to tracker or administrative category ( not a Article navigation hierarchy or taxonomy) which can be used to list Articles needing attention ( Stub, need expansion, need cleanup for advertisement ). Frequently done thru Templates.
Usage
See MediWiki illustrated examples Wikitext examples.
Templates[edit]
Templates insert text and other wikitext at run time into pages. This allows modular construction of pages and consistent formatting and messages. See articles under Category:Showcase for an annotation that these articles belong to a special group.
This is what you place {{Showcase|test of template}} and this is what you get
Showcase | Criterion |
---|---|
Showcase articles feature products, start-ups or service providers that IoTForum Editors consider impactful, innovative or successful. They will focus more on technology, business model and learnings for the wider ecosystem. We are starting with IoTnext 2017 Award winners and special mentions. If you consider that your offering should be covered send a draft to IoTForum using contact us option | test of template |
Wikipedia templates are not available by default in IoTWiki and need to be imported and may need developer assistance. See Some templates in Wikipedia
- [Messages]
- [Reference]
- [List Templates]
- [InfoBoxes]
- [Navigation Boxes]
No Grammer[edit]
Wikitext has no official grammar or syntax and evolves over time. This has made it difficult for a proper WYSIWYG editor.
HTML[edit]
Wikitext mixes withe restricted HTML . IMG and Anchor tag are not supported. Image formatting is restricted to wikitext options. Style attribute is supported but borders and size may not work.
Colour[edit]
See Help:Colour. Prefer lavender, skyblue,lightbrown,silver,amber,beige, khaki,lightcyan,lightsteelblue
Category | Color-Code | Color-Name |
---|---|---|
Singles | #FFFF00 | yellow |
Protists | #F0E68C | khaki |
Saints | #B57EDC | lavender |
Planes | #87CEEB | skyblue |
Royal Air Force Squadrons | #87CEFA | lightskyblue |
Royal Air Force Stations | #00BFFF | deepskyblue |
Ships | #000080 | Navy |
Cover and tribute albums | #DDA0DD | plum |
Bacteria | #D3D3D3 | lightgrey |
Constellations | #C0C0C0 | silver |
Archaea | #A9A9A9 | darkgray |
NFL Football players | #B0C4DE | lightsteelblue |
Entertainer | #F8EABA | lightbrown |
Director | #D3D3D3 | lightgrey |
Male actor | #87CEFA | lightskyblue |
Child star | #FFF8C6 | beige |
Model | #FFD700 | gold |
Announcer | #FFFF00 | yellow |
Singer | #F0E68C | khaki |
Male singer | #E0FFFF | lightcyan |
Group | #B0C4DE | lightsteelblue |