Difference between revisions of "Tutorial:AdvancedTutorialPage1g"
(Add another line) |
m (→Adding links without transcluding: fmt) |
||
Line 22: | Line 22: | ||
==Adding links without transcluding== | ==Adding links without transcluding== | ||
− | On the previous tutorial page, I included a ''link'' to a template, but the template didn't appear on the tutorial page. Such links are very useful when discussing things, or in tutorials like this. If you want to add a link without tranclusion of the linked template (or image, or category), just stick a colon in front of the link, as in <nowiki>[[:Template:WikiProject Chemicals]]</nowiki>. Here are some examples: | + | On the previous tutorial page, I included a ''link'' to a template, but the template didn't appear on the tutorial page. Such links are very useful when discussing things, or in tutorials like this. If you want to add a link without tranclusion of the linked template (or image, or category), just stick a colon in front of the link, as in '''<nowiki>[[</nowiki>:Template:WikiProject Chemicals<nowiki>]]</nowiki>'''. Here are some examples: |
− | * | + | * One example of a resource template is '''[[:Template:ClimateChangeResources]]'''. |
* Who do you prefer - [[:File:Tom cruise 1989.jpg|Tom Cruise]] or [[:File:JenniferAnistonFeb09.jpg|Jennifer Aniston]]? | * Who do you prefer - [[:File:Tom cruise 1989.jpg|Tom Cruise]] or [[:File:JenniferAnistonFeb09.jpg|Jennifer Aniston]]? | ||
* This page definitely does not belong in [[:Category:Awards]]. | * This page definitely does not belong in [[:Category:Awards]]. | ||
[[Category:Tutorial pages]] | [[Category:Tutorial pages]] |
Revision as of 00:42, 24 May 2011
Here are a few useful tips on editing and formatting text:
Adding a margin
The colon symbol (:) acts rather like the "tab" key, and it moves the text a small distance to the right. If you want it even further, just use two or three colons. This can be useful for formatting things to look nice. For example:
Sulfuric acid reacts with one mole of sodium hydroxide to produce sodium bisulfate, or with two moles of sodium hydroxide to produce sodium sulfate.
- H2SO4 + NaOH → NaHSO4 + H2O
- H2SO4 + 2 NaOH → Na2SO4 + 2 H2O
Often on discussion pages, people add gradually increasing numbers of colons before their comments to show that a new person is commenting, as in:
I think we should block User:Walkerma on this site. He writes too many provocative pages, and he has a very arrogant attitude towards other users. User:Joe Smith
- I agree, he's a pain in the **** User:Jane Doe
- That's not fair! Give me just one example of something provocative I've written! Martin A. Walker 01:38, 24 May 2011 (EDT)
How about WikiChem:Demonstration/George Washington for a start! Walkerma is clearly pushing his anti-American POV! User:Joe Smith.
- Even when he's not pushing a POV, his writing is dreadful. Take a look at WikiChem:Demonstration/Adirondacks. User:Dan Jones
- You both know those pages weren't written by me! My account was hacked, and someone wrote those pages to try and get me blocked. Martin A. Walker 01:39, 24 May 2011 (EDT)
Adding links without transcluding
On the previous tutorial page, I included a link to a template, but the template didn't appear on the tutorial page. Such links are very useful when discussing things, or in tutorials like this. If you want to add a link without tranclusion of the linked template (or image, or category), just stick a colon in front of the link, as in [[:Template:WikiProject Chemicals]]. Here are some examples:
- One example of a resource template is Template:ClimateChangeResources.
- Who do you prefer - Tom Cruise or Jennifer Aniston?
- This page definitely does not belong in Category:Awards.