4,993
edits
(→Some other useful codes: starting expand-collapse code) |
|||
Line 88: | Line 88: | ||
** other indentations can be found here: [http://www.mediawiki.org/wiki/Help:Formatting Wiki/Help:Formating] | ** other indentations can be found here: [http://www.mediawiki.org/wiki/Help:Formatting Wiki/Help:Formating] | ||
==Some other useful codes== | |||
* common codes are found at the top-left of the Edit box, including Bold, Italic, Internal Link, External Link, Level 2 Headline, and others. | * common codes are found at the top-left of the Edit box, including Bold, Italic, Internal Link, External Link, Level 2 Headline, and others. | ||
=== italic, bold, underline === | |||
*''italic'' is two hash marks on either side of a word <nowiki>' ' word ' '</nowiki> | |||
* '''bold''' is three hash marks on either side of a word <nowiki>' ' ' word ' ' '</nowiki> | |||
* <u>underline</u> is created with the hmtl tags on underline: <nowiki><u>text</u></nowiki> | |||
** for general formatting instructions, see this mediawiki article [http://www.mediawiki.org/wiki/Help:Formatting Mediawiki/Help:Formatting] | ** for general formatting instructions, see this mediawiki article [http://www.mediawiki.org/wiki/Help:Formatting Mediawiki/Help:Formatting] | ||
=== display code: nowiki === | |||
* <nowiki><nowiki></nowiki> and <nowiki></nowiki></nowiki> turn on and off Mediawiki code in order to display the code as plain text | * <nowiki><nowiki></nowiki> and <nowiki></nowiki></nowiki> turn on and off Mediawiki code in order to display the code as plain text | ||
=== collapsible text === | |||
* simple expand-collapse | |||
<div class="mw-collapsible"> | <div class="mw-collapsible"> | ||
This text is collapsable. | This text is collapsable. | ||
</div> | </div> | ||
** code: ** expand/collapse codes: | |||
<nowiki><div class="mw-collapsible"> | <nowiki><div class="mw-collapsible"> | ||
This text is collapsible. | This text is collapsible. | ||
</div></nowiki> | </div></nowiki> | ||
** note that the "collapse" and "expand" menu is to the far right | ** note that the "collapse" and "expand" menu is to the far right | ||
*** to move it to the middle, add <nowiki> | *** to move it to the middle, add <nowiki>style="width:50%"></nowiki> | ||
** | ** default hide collapsed text: | ||
<div class="mw-collapsible mw-collapsed" style="width:50%"> | |||
<nowiki><div class="mw-collapsible mw-collapsed" style="width:50%"> | |||
</div></nowiki> | |||
</div> | |||
** Sources: | |||
*** [[https://www.mediawiki.org/wiki/Manual:Collapsible_elements#Collapsible_tables Collapsible Tables (MediaWiki)}} | |||
*** [[https://community.fandom.com/wiki/Help:Collapsing Help: Collapsing]] | |||
===Save your page!=== | ===Save your page!=== |