User:Dennis/toolbox
From Gunsopedia
For all that crap that keeps slipping my mind somehow. This wiki has 231 categories so far.
- hanging indent: div style="padding-left: 4em; text-indent: -3em"
- 256-IP ban hammer example: 173.208.25.0/24
- 65,536-IP ban hammer looks like: 69.208.0.0/16
Contents |
to do
- Change scripts - /opt/php53/bin/php is no longer valid path.
days
<noinclude> {| width="100%" | align="left" | [[ -yesterday- |<< Previous day]] | align="right" | [[ -tomorrow- |Next day >>]] |} == [[{{PAGENAME}}/article|Featured Article]] ==</noinclude> {{: -the date- /article}} {| class="wikitable" width="100%" ! style="background:#9BCD9B; border:1px solid green"| <div style="float:right"><small><nowik i>[</nowik i>[[ -the date- |more]]<nowik i>]</nowik i></small></div>What else happened today |- |style="background:#F0FFF0"| Nothing, apparently. Maybe you know <includeonly>[[{{CURRENTMONTHNAME}} {{CURRENTDAY}}|'''</includeonly>something that happened<includeonly>''']]</includeonly> today...? |}<noinclude> ==Today in pictures== <gallery> </gallery> === [[{{PAGENAME}}/image|Featured Image]] === {{: -the date- /image}} === [[{{PAGENAME}}/video|Featured Video]] === {{: -the date- /video}} [[category: -the month- ]] [[category:daily articles]]</noinclude>
Remember to
- fill in "-the date-" and fix the nowiki tags
- be careful not to delete the colons in the transclusions, otherwise the software will think it's looking for a template.
- check links and search, file namespace too
POTD
- Pics
[[File: |400px]]<!-- br><big>'''text'''</big --><noinclude> [[category: -the month- ]] [[category:featured images</noinclude>
- Vids
Exact video height measurements may vary according to aspect ratio; the vertical numbers below are just a guide. Width, however, is not optional and MUST remain at 400px. For now.
<videoflash>_ID_|400|330</videoflash><!-- br><big>'''text'''</big --><noinclude> [[category: -the month- ]] [[category:featured videos]]</noinclude>
tables
- it's "toccolours" not TOCcolours, TOC_Colors, or any of that other shit...
- style="margin: auto auto auto auto;" top right bottom left, in em, not px
- style="border-left: 5px solid red;" for example
- style="font-size:200%" seems like it always has to be in percent for some reason...
colours
#9BCD9B for standard headers |
#F0FFF0 for standard backgrounds |