User:Jcreer/Misc: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
Line 54: Line 54:


{{Template:%s}}
{{Template:%s}}
{{Template:C}}
{{Template:Cleanup-refs}}


==Categories==
==Categories==

Revision as of 18:15, 18 June 2014

This page is for pages, templates, and categories I want to keep track of but don't have a place for them at the moment.

Pages

Tempates





{{ombox | type = style | image = Edit-clear.png | text = This template is used on many pages, and changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in a user subpage, and consider discussing changes at the talk page before implementing them.


This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please Help:Reverting#Undo|undo]] it quickly, as this template may appear on a large number of pages.
Remember that you can conduct experiments, and should test all improvements, in either the local /sandbox or your user space before changing anything here.


Padlock.png

This high-risk templates has been protected from editing to prevent Vandalism. (protection log).
Please discuss changes on the talk page or request unprotection. You may use {{editprotected}} on the talk page to ask for an administrator to make an edit for you.



[[Category:{{{1}}}]]

%7B%7B%7B1%7D%7D%7D

Template:GSDALI

Template:GSDALIP

Template:GSDA Heading1

Missing text


Template:Case preserving encode


{{ombox | type = content | text = This template is used in system messages.
Changes to it can cause immediate changes to the Wikipedia user interface. To avoid large-scale disruption, any changes should first be tested in this template's [[User:Jcreer/Misc/sandbox|/sandbox or [[User:Jcreer/Misc/testcases|/testcases subpage, or in your own Wikipedia:Subpages#How to create user subpages|user space. The tested changes can then be added in one single edit to this template. Please discuss any changes at {{#if:|[[{{{2}}}]]|the [[User talk:Jcreer/Misc|talk page}} before implementing them. }}

This is the {{case preserving encode}}

meta-template.

This template is used inside the templates tl|sec link, tl|sec link auto, and tl|sec link image. (And it might be used in other templates too.)

This template is used to URL-encode wiki page names for external links to other MediaWiki wikis. Since MediaWiki's own URL-encode functions don't work when making links to other MediaWiki wikis.

This template preserves the case of the first character, and it correctly preserves the namespace name.

Usage

Technical details

For a detailed explanation of the methods used in this template see the Template talk:Sec link#About ((sec link)), ((sec link auto)) and ((sec link image))|talkpage of {{sec link}}.



<noinlcude> </noinclude>

Missing text

Template:Case preserving encode/doc


Missing text

Template:Case preserving encode/doc


Missing text

Template:Case preserving encode


Missing text

Template:Case preserving encode



This template is a "subroutine" of {{Citation/core}}

used for conditionally making links for the chapter= and title= fields in a citation. 

It is invoked as:

{{Citation/make link
| 1 = <value of IncludedWorkURL= or URL= or PMC= parameters>
| 2 = <value of IncludedWorkTitle= or Title= parameters>
}}

It uses the following algorithm:

  1. If the first parameter is empty, it returns the second parameter as plain text.
  2. If the first parameter is a URL, it returns the second parameter wrapped inside an external link to the first.

This "subroutine" is designed for {{Citation/core}}

and makes assumptions that may not be valid elsewhere.

Examples:

  • "{{Citation/make link||BBC News front page}}" produces "BBC News front page".
  • "{{Citation/make link|http://news.bbc.co.uk/|BBC News front page}}" produces "BBC News front page".



When to use

This template should be used only on articles that have sources.

It may be used with {{Refimprove}}

or other check references templates. This template should not be used with XMS Wiki:Stub|stubs.

The most common correct use of this template is to identify an article that uses more than one major citation style (e.g., half the citations use Wikipedia:Manual of Style/Layout#Standard appendices and footers|ref tags]], and half are Wikipedia:Parenthetical referencing|parenthetical citations]]).

Do not place on articles containing all parenthetical citations! They're not as easy to spot with a quick glance as superscripted blue numbers, but they are an acceptable form of Wikipedia:Inline citation|inline citation]]. Wikipedia:Citing sources|Wikipedia's guidelines]] generally prohibit editors from changing from one acceptable form of inline citations to another, especially for reasons of personal preference or to make one article match the style in another article.

This template may be removed by anyone who fixes the problems with confusing citation styles.

How to use

To use this template, place {{Citation style|date=April 2024}} on the article page or talk page in a location that may aid in conveying the message of the template. This template may be used within tl|Multiple issues and placement of this template on the article page is guided by Wikipedia:Template messages/Cleanup|Template messages/Cleanup]]. The following parameters may be specified for this template:

  • |date= should preferably be used to categorize the article in a subcategory of :Category:Wikipedia references cleanup. This helps with addressing aged cleanup messages. (e.g., {{Citation style|date=April 2024}}.)
  • |details= may be used to provide more details on some of the aspects that should be addressed for the given article. (e.g., {{Citation style|date=April 2024|details=In particular, citation titles should be specified}})
  • | A first unnamed parameter may be used to specify whether the template applies to the entire article or a section of the article (e.g., {{Citation style|section|date=April 2024}}. If not specified, the first unnamed parameter defaults to "article."

Operation

This template will categorise tagged articles into :Category:Wikipedia references cleanup and :Category:Articles covered by WikiProject Wikify.

This template is a Wikipedia:Manual of Style/Self-references to avoid|self-reference]].

This template should not be substituted.

Template data

TemplateDataHeader

This template generates a tag to indicate that the article needs additional inline citations.

Template parameters

ParameterDescriptionTypeStatus
Datedate

The month and year that the need for citations is identified, such as 'June 2013'; may use '{{subst:DATE}}' template instead

Stringoptional
Section1

Specifies the region of the page to which this template applies, such as 'section' or 'table'. Omit if the template applies to the whole article.

Stringoptional
Smallsmall

Any value (such as 'y') will result in the addition of 'See talk page for details.' to the tag

Stringoptional
Detailsdetails

A sentence explaining more about the problem.

Stringoptional

Redirects





See also

The following templates are useful in cases where there are some sources, but these are inadequate or insufficient

— Use only when a section contains zero inline citations.
— The article needs either more or better sources.
  • tl|Primary sources}} — See WP:Party and person]] for the differences between a primary and secondary source.
  • tl|Third-party}} — The article needs WP:Independent sources]].
  • {{No footnotes}}
— The article contains only Wikipedia:Citing sources#General references|General references]] rather than Wikipedia:Inline citation|Inline citations]]
— The inline citations are badly formatted.


  • Wikipedia:Template messages/Sources of articles]]
  • Wikipedia:Template messages/Cleanup/Verifiability and sources]]




"Error: no |title= specified when using {{Cite web}}". 

C

http://en.wikipedia.org/wiki/Template:Cleanup-refs

Template:Citation style/doc

Categories