User:Foo2: Difference between revisions

From AniDB
Jump to navigation Jump to search
mNo edit summary
Line 10: Line 10:


==Using templates to make links easier to manage==
==Using templates to make links easier to manage==
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 ...

Revision as of 20:51, 12 May 2009

Since Ninjamask and I (Foo2) have been cleaning up the wiki pages, trying to use practical templates to make the look more consistent, I will be putting together a list of tips (as reminder to myself), but quite possibly also useful for the wikipedians out there as well.

Todo

  • Add link to the templates...
  • Mention how to make the most of the link related templates with real-world examples.
  • Tips & Ideas on "nice" layout.
  • ...

Using templates to make links easier to manage

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.

{{short}} - AniDB short links

http://anidb.info/p13        ->   {{short|p13}}
http://anidb.net/post59971   ->   {{short|post59971}}

{{AniDBLink}} - AniDB links

[http://anidb.info/perl-bin/animedb.pl?show=userpage user page] 
  ->   {{AniDBLink|userpage|user page}}
http://www.anidb.net/cgi-bin/animedb.pl?show=file&size=247822336&hash=7762
  ->   {{AniDBLink|file|size|247822336|hash|7762}}

Wikipedia references

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

{{OldThreadLink}} - Old Forum links

http://forum.anidb.net/viewtopic.php?t=5653      ->   {{OldThreadLink|5653}}
http://www.anidb.net/forum/viewtopic.php?t=933   ->   {{OldThreadLink|933}}

{{t}} - Links to the Bugtracker

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

... more to come ...

Consistent Capitalization of Names

Where possible spell these terms exactly as shown:

  • AniDB
  • MyList
  • ...

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:

<b>...</b>   ->   '''...'''
<i>...</i>   ->   ''...''


...

--- everything is still very much todo ---