Difference between pages "Template:Note" and "User talk:Duncan.britton"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
 
 
Line 1: Line 1:
{{delete}}
{{Thankyou|adding content to the wiki|[[User:Threesixes|Threesixes]] ([[User talk:Threesixes|talk]])}}
{{#if: {{{1|}}}|<div class="block-note"><span class="block-contents">|[[Image:Bulbgraph.png|18px|Note|link=]]}} '''Note:''' {{#if: {{{1|}}}|{{{1}}}</span></div>}}<noinclude>


== Usage ==
::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)


=== Method 1 ===
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.)?


The following displays the note icon and the word 'Note:'.  You can follow this with whatever text/images/markup you like, and it works in-line, within a paragraph.
Best,
Monsters are green. <nowiki>{{note}}</nowiki> this is an in-line note, to remind you that some monsters are orangey-purple.
Duncan


Monsters are green. {{note}} this is an in-line note, to remind you that some monsters are orangey-purple.
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


=== Method 2 ===
I did not know about this namespaces tool. Should I remove all of the templates from that category that I created?
The following includes the text passed to the template, and uses a table to stop the text flowing round the icon. These always force a newline before and after the note.


<nowiki>{{note|Here is a long note, which is sufficiently wordy to run onto a second line,  
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.
which would normally cause it to wrap round the icon, but because we passed it as a parameter
it keeps its left alignment straight.}}</nowiki>  


{{note|Here is a long note, which is sufficiently wordy to run onto a second line, which would normally cause it to wrap round the icon, but because we passed it as a parameter it keeps its left alignment straight.}}
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]])


{{Languages|Template:Note}}
I will go ahead and delete the Category:Template and remove all missing links to it when I get the chance. School has been busy lately. -- Duncan
 
== Status of Category:Templates ==
 
I have deleted the [[Category:Templates]] line from all of the templates that I screwed up. While I was looking around, I found some old templates that seemed to be unused and tagged them for deletion.

Revision as of 21:29, September 25, 2014

Example sunflower image
A little thank you...
for adding content to the wiki.
hugs, Threesixes (talk)


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. Threesixes (talk) 23:47, 22 September 2014 (UTC)

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 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.)?

Best, Duncan

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 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 [[Category:Template]] is included in the source code of the page. 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. I just figured out one can use [[:Category:Template]] for that purpose -- Pytony (talk)

I will go ahead and delete the Category:Template and remove all missing links to it when I get the chance. School has been busy lately. -- Duncan

Status of Category:Templates

I have deleted the line from all of the templates that I screwed up. While I was looking around, I found some old templates that seemed to be unused and tagged them for deletion.