Difference between pages "User talk:Duncan.britton" and "Template:Fancynote/Doc"

(Difference between pages)
 
 
Line 1: Line 1:
{{Thankyou|adding content to the wiki|[[User:Threesixes|Threesixes]] ([[User talk:Threesixes|talk]])}}
+
== Example and Usage ==
 +
Example:
 +
<pre>
 +
{{Fancynote| Note }}
 +
</pre>
  
::wait wait a second  http://www.funtoo.org/Special:RecentChanges <--- can u make bigger changes, like adding content, and try avoid spamming this plz.  i hate it when i screw up, and notice it immediately after a commit because of this.  im just making sure you're aware that you're massively spamming logs.  [[User:Threesixes|Threesixes]] ([[User talk:Threesixes|talk]]) 23:47, 22 September 2014 (UTC)
+
Will produce:
 +
{{Fancynote| Note }}
  
I am sorry if I have caused you any inconvenience. However, I am adding all Templates on the wiki to a Category:Template. Because of this, I have to add [[Category:Template]] to each Template -- hence the spamming of the log. Is it okay with you if I finish up (I will then be done spamming, I promise.)?
+
== See also ==
 
+
* [[Template:Fancywarning]]
Best,
+
* [[Template:Fancytip]]
Duncan
+
* [[Template:Fancyimportant]]
 
+
Duncan, it is not really that helpful to add Templates to a Template category. They are all in their own namespace and it is easy to find them using this link: http://www.funtoo.org/index.php?title=Special%3AAllPages&from=&to=&namespace=10
+
 
+
I did not know about this namespaces tool. Should I remove all of the templates from that category that I created?
+
 
+
Yeah, probably. In MediaWiki, generally any "Foo:" (with colon) prefix means it's in a separate namespace. This means it's easy to find all pages in a namespace using the All Pages link. Also note that you did this wrong. If you look at all the pages in [[:Category:Templates]], you'll notice that all the packages are in there. If you want to add a template to a category, but not the page that it's used on, then you need to put the category tag inside a <noinclude> </noinclude> section. That section will only apply to the template itself.
+
 
+
Moreover, this causes any page using a template to be in the template category as <code><nowiki>[[Category:Template]]</nowiki></code> is included in the source code of the page. <del>By the way, I wonder if this is a good behavior. Indeed, you can't link to a category without including the page in this category.</del> I just figured out one can use <code><nowiki>[[:Category:Template]]</nowiki></code> for that purpose -- [[User:Pytony|Pytony]] ([[User talk:Pytony|talk]])
+

Latest revision as of 21:18, September 25, 2014

Example and Usage

Example:

{{Fancynote| Note }}

Will produce:

Note

Note 

See also