Template:Wikify

From Iron Chariots Wiki
(Difference between revisions)
Jump to: navigation, search
(enable specifying "section" and suggesting specific changes)
(simplify Usage a bit and remove example results)
 
(One intermediate revision by one user not shown)
Line 10: Line 10:
 
* {{t|wikify|section}}
 
* {{t|wikify|section}}
 
*: Reads, "This section needs..." instead of "This article needs...".
 
*: Reads, "This section needs..." instead of "This article needs...".
* {{t|wikify|''scope''}}
 
*: Reads, "This {{tp|scope}} needs..." — using whatever word or phrase you specify for {{tp|scope}}.
 
 
* {{t|wikify|suggest{{equals}}''changes''}}
 
* {{t|wikify|suggest{{equals}}''changes''}}
 
*: Provides the following text between the two sentences: "...Specifically, an editor has suggested: {{tp|changes}}." Use this to suggest what changes need to be made. (Note that the final period is provided by the template.)
 
*: Provides the following text between the two sentences: "...Specifically, an editor has suggested: {{tp|changes}}." Use this to suggest what changes need to be made. (Note that the final period is provided by the template.)
 +
* {{t|wikify|section|suggest{{equals}}''changes''}}
 +
*: Combines the effects of the previous two forms.
  
; Note
+
; Notes
: The unnamed parameter {{tp|scope}} and named parameter {{tpn|suggest{{equals}}''changes''}} can appear in either order, as seen in the examples below.
+
# Actually, the word "section" can be replaced by any word or phrase, since it is implemented as an "unnamed parameter".
 +
# The final two parameters in the last form shown above can appear in either order, so you don't have to remember which order they should be in (see below).
  
 
; Examples
 
; Examples
: {{t|wikify|suggest{{equals}}please replace HTML with {{l|Help:Editing|wikicode}} where possible}}
+
* {{t|wikify|suggest{{equals}}please replace HTML with {{l|Help:Editing|wikicode}} where possible}}
{{wikify|suggest=please replace HTML with [[Help:Editing|wikicode]] where possible}}
+
* {{t|wikify|section|suggest{{equals}}add links}}
: {{t|wikify|section|suggest{{equals}}add links}}
+
* {{t|wikify|suggest{{equals}}add links|section}}
{{wikify|section|suggest=add links}}
+
: {{t|wikify|suggest{{equals}}add links|section}}
+
{{wikify|suggest=add links|section}}
+
 
[[Category:Templates|Wikify]]
 
[[Category:Templates|Wikify]]
 
[[Category:Box templates|Wikify]]
 
[[Category:Box templates|Wikify]]
 
[[Category:Maintenance templates|Wikify]]
 
[[Category:Maintenance templates|Wikify]]
 
</noinclude>
 
</noinclude>

Latest revision as of 01:31, 30 July 2008

This article needs to be formatted and/or linked to other articles according to our style guidelines.

Please remove this notice when this has been done.

Usage
  • {{wikify}}
    Gives the default two-sentence message seen above on this page.
  • {{wikify|section}}
    Reads, "This section needs..." instead of "This article needs...".
  • {{wikify|suggest=changes}}
    Provides the following text between the two sentences: "...Specifically, an editor has suggested: changes." Use this to suggest what changes need to be made. (Note that the final period is provided by the template.)
  • {{wikify|section|suggest=changes}}
    Combines the effects of the previous two forms.
Notes
  1. Actually, the word "section" can be replaced by any word or phrase, since it is implemented as an "unnamed parameter".
  2. The final two parameters in the last form shown above can appear in either order, so you don't have to remember which order they should be in (see below).
Examples
  • {{wikify|suggest=please replace HTML with <tt>[[Help:Editing|wikicode]] where possible}}</tt>
  • {{wikify|section|suggest=add links}}
  • {{wikify|suggest=add links|section}}
Personal tools
Namespaces
Variants
Actions
wiki navigation
IronChariots.Org
Toolbox