Cheatsheet: Difference between revisions
From Joomla! Documentation
m update |
|||
| (6 intermediate revisions by 4 users not shown) | |||
| Line 2: | Line 2: | ||
<!--COMMENT MARKUP. Displays:Edit mode only.--> | <!--COMMENT MARKUP. Displays:Edit mode only.--> | ||
{|align="center" style="width:100%; border:2px #a3b1bf solid; background:#f5faff; text-align:left;" | {|align="center" style="width:100%; border:2px #a3b1bf solid; background:#f5faff; text-align:left;" | ||
|colspan="3" align="center" style="background:# | |colspan="3" align="center" style="background:#5091cd; text-align:center;" | {{shortcut|JDOC:CHEAT|JDOC:EDIT}} | ||
{{section portal heading|icon=magic|title=Joomla Documentation Wiki Cheatsheet}} | |||
|-<!--WORKS ONLY AT THE BEGINNING OF LINES--> | |-<!--WORKS ONLY AT THE BEGINNING OF LINES--> | ||
| colspan="3" style="background:# | | colspan="3" style="background:#c5d6e8; border-top:2px #a3b1bf solid; font-size:1.4em" | | ||
<center>'''Works only at the beginning of lines''' | <center>'''Works only at the beginning of lines''' | ||
|-<!--COLUMN HEADINGS--> style="background:# | |-<!--COLUMN HEADINGS--> style="background:#c5d6e8; padding:0.3em; font-size: 0.9em; text-align:center;" | ||
| style="border-bottom:2px #a3b1bf solid" width="30%" | Description | | style="border-bottom:2px #a3b1bf solid" width="30%" | Description | ||
| style="border-bottom:2px #a3b1bf solid" | You type | | style="border-bottom:2px #a3b1bf solid" | You type | ||
| Line 86: | Line 86: | ||
:::third indent | :::third indent | ||
|-<!--WORKS ANYWHERE IN THE TEXT--> | |-<!--WORKS ANYWHERE IN THE TEXT--> | ||
| colspan=3 style="background:# | | colspan=3 style="background:#c5d6e8; border-top:2px #a3b1bf solid; font-size:1.4em" | | ||
<center>'''Works anywhere in the text''' | <center>'''Works anywhere in the text''' | ||
|-<!--COLUMN HEADINGS--> style="background:# | |-<!--COLUMN HEADINGS--> style="background:#c5d6e8; padding:0.3em; font-size: 0.9em; text-align:center;" | ||
| style="border-bottom:2px #a3b1bf solid" width="30%" | Description | | style="border-bottom:2px #a3b1bf solid" width="30%" | Description | ||
| style="border-bottom:2px #a3b1bf solid" | You type | | style="border-bottom:2px #a3b1bf solid" | You type | ||
| Line 167: | Line 167: | ||
| | | | ||
[[Special:Mypage|Username]] ([[Special:Mytalk|talk]]) {{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} (UTC) | [[Special:Mypage|Username]] ([[Special:Mytalk|talk]]) {{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} (UTC) | ||
|- | |||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |||
|- | |||
|'''Display as Code''' | |||
| | |||
<tt><nowiki><tt>JFactory::getApplication()</tt></nowiki></tt> | |||
| | |||
<tt>JFactory::getApplication()</tt> | |||
|- | |- | ||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
| Line 225: | Line 233: | ||
|- | |- | ||
|Add a page to a '''category'''{{Anchor|Add a page to a category}} | |Add a page to a '''category'''{{Anchor|Add a page to a category}} | ||
|<tt><nowiki>[[Category:Category name]]</nowiki></tt><br /><br /><span style="font-size:0.9em;">''place near the bottom of a page''</span> | |<tt><nowiki>[[Category:Category name{{#translation:}}]]</nowiki></tt><br /><br /><span style="font-size:0.9em;">''place near the bottom of a page''</span> | ||
|<span style="font-size:0.9em;">''shows''</span> "Category name" <span style="font-size:0.9em;">''in a bar at bottom when the page is previewed or saved''</span> | |<span style="font-size:0.9em;">''shows''</span> "Category name" <span style="font-size:0.9em;">''in a bar at bottom when the page is previewed or saved''</span> | ||
| Line 234: | Line 242: | ||
__NOTOC__ __NOEDITSECTION__ | __NOTOC__ __NOEDITSECTION__ | ||
[[Category:Documentation Wiki Information|Documentation Wiki Information]] | [[Category:Documentation Wiki Information|Documentation Wiki Information]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 13:55, 19 October 2019
Joomla Documentation Wiki Cheatsheet | ||
|
| ||
| Description | You type | You get |
| Section headings These are equivalent to using <h2>, <h3>, <h4>, etc.. header tags
</nowiki>a Table of Contents will automatically be generated when four headings are added to an article |
==Level 2== |
Level 2Level 3Level 4Level 5Level 6 |
| Nonindexed headers left out of Table of Contents
|
; Header name has a leading semicolon ";" in front
|
Header name will not appear in Table of Contents
|
| Bulleted list Use the asterisk(*) |
* One |
|
| Numbered list Use the hash tag(number sign-(#)) |
# One |
|
| Indenting text
this is used when replying on a talk page, to make it easier to follow conversations
|
no indent (normal) |
no indent (normal)
|
|
| ||
| Description | You type | You get |
| Italics, bold, and both |
''italics'', '''bold''', and '''''both''''' |
italics, bold, and both |
| Link to another page |
[[glossary]] |
|
|
"Pipe" a link to change the link's text |
[[Administrators|Joomla! Administrator]] |
|
|
Link to a section |
[[Glossary#Component]] |
|
| Red link
red links in articles help by showing desired redirects or Needed pages
|
[[something missing]] |
|
| References and footnotes
sources in the article will appear where {{reflist}} is put, typically under a level 2 section heading (see below) towards the bottom of the page.
|
Hello,<ref>Library of Congress</ref> World.<ref>http://www.w3.org/</ref>
|
References:
|
| Signature
sign your contributions when posting to a talk page
|
~~~~ |
|
| Display as Code |
<tt>JFactory::getApplication()</tt> |
JFactory::getApplication() |
| Plain website link |
http://docs.joomla.org |
|
| Link a website |
[http://docs.joomla.org] |
|
| Link and name a website |
[http://docs.joomla.org Joomla Documentation Wiki] |
|
| Strike your talk page comment or a list
to show your previous comment is outdated
|
<s>This topic isn't notable.</s> |
|
| Show an image
for uploading, see the intro to uploading images
|
[[File:Documentation_all_together_transparent.png|thumb|Caption]] |
![]() |
| Float an image
for uploading, see the intro to uploading images
|
[[File:Documentation_all_together_transparent.png|left]] |
|
| Add a page to a category | [[Category:Category name{{#translation:}}]] place near the bottom of a page |
shows "Category name" in a bar at bottom when the page is previewed or saved |

