MW Cheat Sheet

From dataZoa Wiki
Revision as of 09:39, 8 December 2016 by SNC (Talk | contribs)

Jump to: navigation, search

Edit Sidebar
Edit CSS
Edit Javascript

Formatting Basics

View All Pages
Special Pages

MediaWiki Version

Handy Classes:
Structures: GTableTextPic (text then pictures) GOrangeBox Gbb1 (black border table)
Alignments: Gtal { text-align: left; } Gtac { text-align: center; } Gtar { text-align: right; } Gvam { vertical-align: middle; } Gvat { vertical-align: top; } Gvab { vertical-align: bottom; } Gmc { vertical-align: middle; text-align: center; }
Colors: GbcLgray GfcLgray

How to create a category: type [[Category: CategoryName]] More on categories

How to create an iframe (uses Iframe Widget): {{#widget:Iframe |url=yoururl |width=yourwidth |height=yourheight |border=0 }}


Insert a glyph

using:

<div class="imgGlyph24 imgIdea"></div>
<div class="imgGlyph24 imgConcept"></div>
<div class="imgGlyph24 imgWarning"></div>
<div class="imgGlyph24 imgDisambiguate"></div>
<div class="imgGlyph16 imgCellYes"></div>
<div class="imgGlyph16 imgCellNo"></div>
<div class="imgGlyph16 imgCellMaybe"></div>

Insert a foreign image

This is from dataZoa itself:

using:

<div class="imgWholeWrap1"><div class="imgWhole " data-guts="{ url: '/img/Hint.png', title: 'Hint example', xtraStyle: ' min-height: 16px; min-width: 16px;'  }"></div></div>

Insert a snippet

using:

<div class="imgSnippetWrap1 "><div class="imgSnippet " title="dropZone Title Search" data-styler="{ view: '311', style: ' width: 479px; height: 123px;  background: url(SQ/img/DocSamples/snap31.pngSQ)  scroll -22px -62px;  background-repeat: no-repeat; ' }"></div></div>