Foo2

Joined 15 April 2009
1,210 bytes added ,  20 May 2009
m
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 9: Line 9:
* ...
* ...


==Using templates to make links easier to manage==
==Using templates to manage links more easily==
As you can see the templates significantly reduce the information noise, and are easier to handle than the full URLs. This should also help avoid typos.


{{m|short}} - AniDB short links
{{m|short}} - AniDB short links
Line 17: Line 18:
{{m|AniDBLink}} - AniDB links
{{m|AniDBLink}} - AniDB links
  <nowiki>[http://anidb.info/perl-bin/animedb.pl?show=userpage user page]</nowiki>  
  <nowiki>[http://anidb.info/perl-bin/animedb.pl?show=userpage user page]</nowiki>  
   -> <nowiki>{{AniDBLink|userpage|user page}}</nowiki>
   ->   <nowiki>{{AniDBLink|userpage|user page}}</nowiki>
  http://www.anidb.net/cgi-bin/animedb.pl?show=file&size=247822336&hash=7762
  http://www.anidb.net/cgi-bin/animedb.pl?show=file&size=247822336&hash=7762
   -> <nowiki>{{AniDBLink|file|size|247822336|hash|7762}}</nowiki>
   ->   <nowiki>{{AniDBLink|file|size|247822336|hash|7762}}</nowiki>


'''Wikipedia''' references
'''Wikipedia''' references
  <nowiki>[http://en.wikipedia.org/wiki/Wikipedia:How_to_edit_a_page How to edit a page]</nowiki> ->
  <nowiki>[http://en.wikipedia.org/wiki/Wikipedia:How_to_edit_a_page How to edit a page]</nowiki>
<nowiki>[[Wikipedia:How to edit a page|How to edit a page]]</nowiki>
  ->   <nowiki>[[Wikipedia:How to edit a page|How to edit a page]]</nowiki>


{{m|OldThreadLink}} - Old Forum links
{{m|OldThreadLink}} - Old Forum links
  http://forum.anidb.net/viewtopic.php?t=5653     -> <nowiki>{{OldThreadLink|5653}}</nowiki>
  http://forum.anidb.net/viewtopic.php?t=5653     ->   <nowiki>{{OldThreadLink|5653}}</nowiki>
  http://www.anidb.net/forum/viewtopic.php?t=933 -> <nowiki>{{OldThreadLink|933}}</nowiki>
  http://www.anidb.net/forum/viewtopic.php?t=933   ->   <nowiki>{{OldThreadLink|933}}</nowiki>


{{m|t}} - Links to the Bugtracker
{{m|t}} - Links to the Bugtracker
  <nowiki>[http://tracker.anidb.info/view.php?id=498 convert to html]</nowiki> -> <nowiki>{{t|498|convert to html}}</nowiki>
  <nowiki>[http://tracker.anidb.info/view.php?id=498 convert to html]</nowiki>   ->   <nowiki>{{t|498|convert to html}}</nowiki>


... more to come ...
... more to come ...
Line 38: Line 39:
* AniDB
* AniDB
* MyList
* MyList
* Avdump
* ...
* ...


==Avoiding HTML, when Wiki Code exists==
==Avoiding HTML, when Wiki Code exists==
The wiki very much supports HTML tags in the textareas, but since it comes with it's own set of convenient "tags", it is a good idea to prefer using the latter, if possible:
The wiki very much supports HTML tags in the textareas, but since it comes with it's own set of convenient "tags", it is a good idea to use the latter, if possible:
  <nowiki><b>...</b></nowiki>  ->  <nowiki>'''...'''</nowiki>
  <nowiki><b>...</b></nowiki>  ->  <nowiki>'''...'''</nowiki>
  <nowiki><i>...</i></nowiki>  ->  <nowiki>''...''</nowiki>
  <nowiki><i>...</i></nowiki>  ->  <nowiki>''...''</nowiki>
<br>...
<br>...
==Tips==
===How to colour text?===
Use the {{m|colour}} template to colour text, this way you can avoid having to use <tt><nowiki><font color=...>...</font></nowiki></tt> or <tt><nowiki><span style="color:...;>...</span></nowiki></tt>, e.g.
{{m|colour|blue|blah blah blah}}      ->  HTML colour name used to colour "{{colour|blue|blah blah blah}}" blue.
{{m|colour|#FF8000|oink oink oink}}  ->  HTML colour code used to colour "{{colour|#FF8000|oink oink oink}}" orange.
{{eyecatchLight|Note|"Manually" colouring text is actually *not* recommended style-wise, but if you really need to colour text the template should help.}}
{{eyecatch|Note|The template has problems colouring more than one line, i.e. several paragraphs, so be sure to double-check its usage.}}
===Use of <nowiki><br></nowiki>===
* Empty lines in the Wiki code do *not* require a <tt><nowiki><br></nowiki></tt> at the end of the previous paragraph, i.e.
blah<nowiki><br></nowiki>
more blah
is redundant, remove the <tt><nowiki><br></nowiki></tt>:
blah
more blah


--- everything is still very much todo ---
--- everything is still very much todo ---
1,633

edits

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.