Difference between revisions of "Example external resource code"

From Critiques Of Libertarianism
Jump to: navigation, search
(Created page with "200 {{DES | des = Prototype for an external web page to be indexed.}} Cut and paste, then replace between the asterisks: <pre> <nowiki>[[Category:*some cate...")
 
 
Line 1: Line 1:
 
[[Category:Examples|200]]
 
[[Category:Examples|200]]
{{DES | des = Prototype for an external web page to be indexed.}}
+
{{DES | des = Prototype wiki page to index an external web page.}}
 
Cut and paste, then replace between the asterisks:
 
Cut and paste, then replace between the asterisks:
 
<pre>
 
<pre>
 
<nowiki>[[Category:*some category*|*sort key*]] <!-- you can have any number of categories --></nowiki>
 
<nowiki>[[Category:*some category*|*sort key*]] <!-- you can have any number of categories --></nowiki>
<nowiki>{{</nowiki>URL | url = *http://anyplace.com*<nowiki>}} <!-- only one of these --></nowiki>
+
<nowiki>{{</nowiki>URL | url = *http://anyplace.com*<nowiki>}} <!-- exactly one of these --></nowiki>
 
<nowiki>{{</nowiki>DES | des = *Description to be used when the category is listed by Template:List.*<nowiki>}}</nowiki>
 
<nowiki>{{</nowiki>DES | des = *Description to be used when the category is listed by Template:List.*<nowiki>}}</nowiki>
<nowiki>{{</nowiki>Other URL | url = *http://otherplace.com*<nowiki>}} <!-- any number of these --></nowiki>
+
<nowiki>{{</nowiki>Other URL | url = *http://otherplace.com*<nowiki>}} <!-- 0 or more of these --></nowiki>
<nowiki>{{</nowiki>Old URL | url = *http://oldplace.com*<nowiki>}} <!-- any number of these --></nowiki>
+
<nowiki>{{</nowiki>Old URL | url = *http://oldplace.com*<nowiki>}} <!-- 0 or more of these --></nowiki>
 
<nowiki>*Any text that is meant to be viewed on this page.*</nowiki>
 
<nowiki>*Any text that is meant to be viewed on this page.*</nowiki>
 
</pre>
 
</pre>
 
This example can be viewed directly and be listed for its categories by [[Template:List]].
 
This example can be viewed directly and be listed for its categories by [[Template:List]].
 +
If it is viewed directly, it will start with a list of URLs for finding this page.

Latest revision as of 11:38, 25 September 2010