Difference between revisions of "Template:Main site"
From GeeklogWiki
(Another approach) |
m |
||
Line 3: | Line 3: | ||
|article=article.php/}} | |article=article.php/}} | ||
|forum=forum/viewtopic.php?showtopic=}} | |forum=forum/viewtopic.php?showtopic=}} | ||
− | |#default={{{ | + | |#default={{{type}}}}} |
}}{{{id}}}</includeonly><noinclude>Supply an item type and ID from the main site and get a link for it. | }}{{{id}}}</includeonly><noinclude>Supply an item type and ID from the main site and get a link for it. | ||
Revision as of 11:56, 26 May 2009
Supply an item type and ID from the main site and get a link for it.
Usage
{{main site| type=item_type| id=item_id}}
For example, {{main site| type=article| id=2004063013542379}} would display as:
http://www.geeklog.net/article.php/{{{1}}}
{{main site| type=forum| id=87624}} would display as:
http://www.geeklog.net/article.php/{{{1}}}