User:Tyrenius/Useful code

From Wikipedia, the free encyclopedia

Contents

[edit] Template:Infobox Artist

Hi Tyrenius. I've posted a reply to your Village pump (technical) question. DH85868993 (talk) 07:20, 31 January 2008 (UTC)

Hi Tyrenius. Actually, I wouldn't have deleted the "bgcolour" line from the sample template; I think it's better to leave it there so that people can use it (or remove it) according to their needs. The template doc says to omit this parameter if you want the default blue colour. The imagesize parameter is a little bit different; if people leave it as "| imagesize = ", then they will get the default image size. Incidentally, User:Lanovsky appears to have messed up the template's doc page back on the 14th of August by substituting values for the parameter names (e.g. they replaced "name" with "Frederic Lanovsky"). I'd suggest this was a mistaken good-faith edit; they probably meant to edit a transclusion of the template, but ended up editing the template (doc) itself. I recommend reverting the doc page to the version of 11th August, but with the current list of interwiki links. I'd do it myself, but you protected it. DH85868993 (talk) 08:54, 31 January 2008 (UTC)
I've fixed up the template doc page. Regarding bgcolour, I made the note about removing that parameter if you want the default colour, bold, so that (hopefully) people should notice it. DH85868993 (talk) 09:18, 31 January 2008 (UTC)

Hi again Tyrenius. I notice you changed the "famous works" parameter to "key works". Did you actually mean to change the name of the parameter? Or did you just mean to update the text that gets displayed in the infobox? If you change the actual name of the parameter, you will need to go and update all the articles that transclude the template, most of which have populated that parameter. DH85868993 (talk) 11:16, 31 January 2008 (UTC)

I've reverted the change for the moment. A change like this which affects so many articles should probably be discussed with the relevant WikiProject (probably Wikipedia:WikiProject Visual arts) first. DH85868993 (talk) 13:40, 31 January 2008 (UTC)

[edit] Sig in template

~~<includeonly>~~</includeonly><noinclude>~~</noinclude>

[edit] Dynamic navigation boxes

[edit] Collapsible box

[edit] R quote

 {{Rquote|left|The Quote Text|Source|Citation}}
The Quote Text

—Source, Citation





[edit] Table

Title
line 1 xxxxxxxxxxxxxxxxxxxxxxxxxxx
line 2
line 3
line 4


[edit] Coloured box

Put text in here.................

Text goes here.......................................


[edit] Multi user article talk page warning

There are a number of users in dispute over this article and in general. This does not imply blame on any particular editor, but there are aspects of this this dispute that are unacceptable.

If there are suspected sockpuppets, then study SOCK and take the appropriate steps. Do not make accusations directly to or about the individual on your, their or an article talk page. Collect hard evidence. You may wish to report on Suspected sock puppets.

Personal attacks must cease immediately. A personal attack is saying something negative about another person. See NPA if you want further clarification. If you find yourself writing the word "you", be very careful what you follow it up with. Deal with facts and issues, not personal motivations.

Continued arguing of personal opinions on the talk page without verification will be regarded as disruption. Non-negotiable policies are VERIFY, NPOV and WP:NOR. Read them and stick to them.

If you experience a problem or think another editor is violating policy, report it to me with the diff. To record a diff, find the edit in the edit history and copy the URL at the top of the page with a square bracket either end, as in this example:
[http://en.wikipedia.org/w/index.php?title=User_talk:Tyrenius&diff=63910624&oldid=63910146]
which results in this [1].

Violation is likely to result in an immediate block.

[edit] Multi user warning

EDIT DISPUTE WARNING

There are a number of users in dispute over this article and in general. This does not imply blame on any particular editor, but there are aspects of this this dispute that are unacceptable.

If there are suspected sockpuppets, then study SOCK and take the appropriate steps. Do not make accusations directly to or about the individual on your, their or an article talk page. Collect hard evidence. You may wish to report on Suspected sock puppets.

Personal attacks must cease immediately. A personal attack is saying something negative about another person. See NPA if you want further clarification. If you find yourself writing the word "you", be very careful what you follow it up with. Deal with facts and issues, not personal motivations.

Continued arguing of personal opinions on the talk page without verification will be regarded as disruption. Non-negotiable policies are VERIFY, NPOV and WP:NOR. Read them and stick to them.

If you experience a problem or think another editor is violating policy, report it to me with the diff. To record a diff, find the edit in the edit history and copy the URL at the top of the page with a square bracket either end, as in this example:
[http://en.wikipedia.org/w/index.php?title=User_talk:Tyrenius&diff=63910624&oldid=63910146]
which results in this [2].

Violation is likely to result in an immediate block.




EDIT DISPUTE WARNING

NO PERSONAL INFORMATION
Stating personal information, e.g. real name, about another user is a very serious matter and can result in an indefinite block.

NO PERSONAL ATTACKS
A personal attack is saying something negative about another person. See NPA if you want further clarification. If you find yourself writing the word "you", be careful what you follow it up with, and consider substituting the word "the". Deal with facts and issues, not someone else's supposed personal motivations.

NEUTRAL POINT OF VIEW
Continued arguing of personal opinions on the talk page without verification will be regarded as disruption. So will re-inserting non-referenced material in the article after it has been challenged. Non-negotiable policies are VERIFY, NPOV and NOR.
Read them and stick to them.

REPORTING PROBLEMS
If you have a problem or another editor is violating policy, report it to me,
to another admin or to Administrators noticeboard with the "diff".
To record a diff, find the edit in the edit history and copy the URL at the top of the page.
Then put a square bracket either end, as in this example:
[http://en.wikipedia.org/w/index.php?title=User_talk:Tyrenius&diff=63910624&oldid=63910146]

BLOCK
Violation of policies on this page can result in being blocked without further notice.

Tyrenius 09:35, 4 August 2006 (UTC)

[edit] SMALL LABEL


SEE EDIT DISPUTE WARNING AT THE TOP OF THIS PAGE

before you write anything.

Tyrenius 09:42, 4 August 2006 (UTC)

[edit] Phaedriel/AnonEMouse block notice

Dear Tyrenius/Useful code, unfortunately, your latest contributions constitute vandalism of Wikipedia, and it is with regret that you have been blocked from editing for a period of 3 hours. Please do not take this badly; this is not a punishment, but rather an opportunity to plan your upcoming useful contributions, which you are most welcome to make after the block expires. We'll be there to thank you in person for understanding and helping our project. Have a nice day! Tyrenius 20:31, 5 January 2007 (UTC)

[edit] To link to a diff

Click on "history" at the top of the relevant page. You will get the list of every edit made.[3]

Find the particular edit you want to reference, e.g.:

(cur) (last) 12:45, 7 August 2007 David Lauder (Talk | contribs | block) (19,210 bytes) (→As a contributor to the great flag debate.. - reply) (undo)

Click on the bluelink "(last)" on the left of the line. You will get the edit up on your screen.[4]

Go to the URL at the top of the page. In this case it is:

http://en.wikipedia.org/w/index.php?title=User_talk:David_Lauder&diff=149759750&oldid=149759578

Click the URL at the top of the page, so it all goes blue.

Right click on the blue-highlighted URL and select the copy option in the drop down menu that appears.

Then paste that URL where you want to make a diff link:

http://en.wikipedia.org/w/index.php?title=User_talk:David_Lauder&diff=149759750&oldid=149759578

Put a square bracket either end:

[http://en.wikipedia.org/w/index.php?title=User_talk:David_Lauder&diff=149759750&oldid=149759578]

It will then appear as a blue link number, like this:

[5]

Tyrenius 22:59, 7 August 2007 (UTC)