Difference between revisions of "MW Cheat Sheet"

From dataZoa Wiki
Jump to: navigation, search
Line 1: Line 1:
 
[http://docwiki.datazoa.com/MediaWiki:Common.css Sitewide CSS]&nbsp;&nbsp;&nbsp;[http://docwiki.datazoa.com/MediaWiki:Common.js Sitewide Javascript]&nbsp;&nbsp;&nbsp;[http://docwiki.datazoa.com/MediaWiki:Sidebar Edit Sidebar]<br>
 
[http://docwiki.datazoa.com/MediaWiki:Common.css Sitewide CSS]&nbsp;&nbsp;&nbsp;[http://docwiki.datazoa.com/MediaWiki:Common.js Sitewide Javascript]&nbsp;&nbsp;&nbsp;[http://docwiki.datazoa.com/MediaWiki:Sidebar Edit Sidebar]<br>
[http://docwiki.datazoa.com/index.php?title=Special%3APrefixIndex&prefix=&namespace=10 Templates]&nbsp;&nbsp;[http://docwiki.datazoa.com/Special:SpecialPages Special Pages]&nbsp;&nbsp;[http://docwiki.datazoa.com/Special:AllPages All Pages]<br>
+
[http://docwiki.datazoa.com/index.php?title=Special%3APrefixIndex&prefix=&namespace=10 Templates]&nbsp;&nbsp;[http://docwiki.datazoa.com/Special:SpecialPages Special Pages]&nbsp;&nbsp;[http://docwiki.datazoa.com/Special:AllPages All Pages][http://docwiki.datazoa.com/Special:WantedPages][http://docwiki.datazoa.com/Special:WantedCategories]<br>
 
<br>Handy Templates:<br>
 
<br>Handy Templates:<br>
 
<div style="white-space: nowrap; display: inline-block;">{{Template:Disambiguate|content=I am so confused!}} <pre style="display: inline-block;">{{Template:Disambiguate|content=I am so confused!}}</pre></div>
 
<div style="white-space: nowrap; display: inline-block;">{{Template:Disambiguate|content=I am so confused!}} <pre style="display: inline-block;">{{Template:Disambiguate|content=I am so confused!}}</pre></div>

Revision as of 07:33, 10 January 2017

Sitewide CSS   Sitewide Javascript   Edit Sidebar
Templates  Special Pages  All Pages[1][2]

Handy Templates:

 I am so confused! 
{{Template:Disambiguate|content=I am so confused!}}


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

Category: type [[Category: CategoryName]] More on categories
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 imgNote"></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>


MediaWiki Version
Formatting Basics