User:MacGyverMagic/Editing
From Wikipedia, the free encyclopedia
Contents |
[edit] My templates
- Left and Right box on my user page
- DYK update notice
- Bookmarks for WP pages box
- DYK featured notice
- Personal "In use" notice
- Contest notice
- Chemical
- Old links table
- User:MacGyverMagic/Ripper victims - colored template
[edit] Hieroglyphs Test
|
evil written in ancient Egyptian hieroglyphs
[edit] Useful Box
'Put your text here'
[edit] User box
There is actually a template for making up your own boxes stemming from babel: Template:Userbox. Inserting {{Userbox|Green|Yellow|[[Image:Flag of the United Kingdom.svg|40px]]|This is an example infobox}} displays as:
(copied from Paul Klenk's talk page)
[edit] Inserting pictures
[[Image:picturename.jpg|thumb|right|250px|description]]
[edit] Variables
{{CURRENTMONTH}} - 05
{{CURRENTMONTHNAME}} - May
{{CURRENTMONTHNAMEGEN}} - May
{{CURRENTDAY}} - 10
{{CURRENTDAYNAME}} - Monday
{{CURRENTYEAR}} - 2004
{{CURRENTTIME}} - 10:56
{{NUMBEROFARTICLES}} - 263229
[edit] Dashed Lines
(Taken from the Village Pump)
<div style="float:right; border-style:dashed; border-color:blue; border-width:1px; text-align:center; padding:2px;"> [[Wikipedia:WP|Shorthand:]]<br> [[WP:VP]] </div>
[edit] Infobox table coding
see edit screen for code
[edit] Bio box
Mr. X |
---|
Born |
12 August 1911 Upper Case, Puzzelania |
Occupation |
Wikipedian, 2001-2004 |
Template:Infobox Biography or thingy on the right.
[edit] Birth date and Age template
{{birth date and age|1993|2|20}} renders as February 20, 1993
[edit] Small and columns
<div class="references-small" style="-moz-column-count:2; column-count:2;"></div>
[edit] Hiding Text in Articles
Hello. I was editing (or trying to edit) some Wikibooks pages and I wanted to enter some problems and answers. My problem has to do with hiding the text so that the user can click a text line (ostensibly "Solution" or something like that) to see the answer. Is there any way to do this on Wikipedia? Thanks a lot for your help in advance.Robinson0120 02:07, 25 December 2006 (UTC)
- I don't know if that's possible, but there is a way to hide text so that only people editing the test will see it. So, it's possible to instruct readers to click the edit button, view the solution, then hit the back button. Edit this text to see what I mean... —Keakealani 02:09, 25 December 2006 (UTC)
Well, there's:
<div class="NavFrame" style="width: 40%"> <div style="background: #FFFFF0" class="NavHead">Question</div> <div class="NavContent">Answer</div> </div>
Which renders like:
... So surely there must be some simpler template out there. I don't quite know how to make it hidden by default, though. — Kieff 02:17, 25 December 2006 (UTC)
Wow, that was quick! Thanks to both of you. (If anybody DOES know how to make that template hidden, a chime in would be really appreciated!) Robinson0120 02:22, 25 December 2006 (UTC)
Try this! |
---|
It should work. Flcelloguy (A note?) 02:27, 25 December 2006 (UTC) |
- Alright! That's exactly what I'm looking for, thanks Flcelloguy!Robinson0120 02:29, 25 December 2006 (UTC)
[edit] Text/Input boxes
- from Help Desk
Is there a way to insert Text/Input boxes into pages? Ajl772 17:57, 8 March 2007 (UTC)
- Only in some specific cases. You can do this:
- or this:
- but the general case is impossible. (See 'edit' for this section to see how I've done this, or m:Help:Inputbox for full information about the syntax.) --ais523 18:11, 8 March 2007 (UTC)
[edit] to do task box
{{todo}} includes the following template: