Difference between revisions of "User:Dennis/toolbox"

From Gunsopedia
Jump to: navigation, search
(days)
Line 10: Line 10:
 
== days ==
 
== days ==
 
<pre>
 
<pre>
<noinclude>== Featured Article ==</noinclude>
+
<noinclude>
<includeonly>{{AOTD missing}}</includeonly><noinclude>'''This date needs an [[AOTD|Article of the Day]]</noinclude>
+
{{Special:PrefixIndex/Help:Subpages/}}
 +
== Featured Article ==</noinclude>
 +
{{: -the date- /article}}
 
{| class="wikitable" width="100%"
 
{| 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:#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
Line 22: Line 24:
  
 
</gallery>
 
</gallery>
===Picture of the day===
+
===Featured image===
{{POTD: -the date- }}
+
{{: -the date- /image}}
[[category:Dates]] [[category:AOTDs needed]]</noinclude>
+
 
 +
===Featured video===
 +
{{: -the date- /video}}
 +
 
 +
[[category: -the month- ]]
 +
[[category:daily articles]]</noinclude>
 
</pre>
 
</pre>
 
Remember to
 
Remember to
 
* fill in "-the date-" and fix the nowiki tags
 
* 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
 
* check links '''and''' search, file namespace too
  
 
=== POTD ===
 
=== POTD ===
 
<pre>
 
<pre>
[[File: |400px]]<br><big>'''text'''</big><noinclude>[[category:Picture of the day]]</noinclude></pre>
+
[[File: |400px]]<!-- br><big>'''text'''</big --><noinclude>
(vid measurements may vary according to aspect ratio)
+
[[category: -the month- ]]
 +
[[category:featured images</noinclude></pre>
 +
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. [[File:eek.png]]
 
<pre>
 
<pre>
<videoflash>_ID_|400|330</videoflash><noinclude>
+
<videoflash>_ID_|400|330</videoflash><!-- br><big>'''text'''</big --><noinclude>
[[category:Video of the day]]</noinclude>
+
[[category: -the month- ]]
 +
[[category:featured videos]]</noinclude>
 
</pre>
 
</pre>
  

Revision as of 13:12, 21 April 2013

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>
{{Special:PrefixIndex/Help:Subpages/}}
== 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>
===Featured image===
{{: -the date- /image}}

===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

[[File: |400px]]<!-- br><big>'''text'''</big --><noinclude>
[[category: -the month- ]]
[[category:featured images</noinclude>

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. Eek.png

<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
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox