Template:nextlinks
From Homestar Runner Wiki
(Difference between revisions)
(add support for oldsql and title tags) |
It's dot com (Talk | contribs) (remove obsolete ytbl parameter) |
||
| Line 4: | Line 4: | ||
-->{{#if:{{{yt|}}}|*[[YouTube:{{{yt}}}|watch "{{{title|{{PAGENAME}}}}}"]] on [[YouTube]]}}<!-- | -->{{#if:{{{yt|}}}|*[[YouTube:{{{yt}}}|watch "{{{title|{{PAGENAME}}}}}"]] on [[YouTube]]}}<!-- | ||
-->{{#if:{{{youtube|}}}|*[[YouTube:{{{youtube}}}|watch "{{{title|{{PAGENAME}}}}}"]] on [[YouTube]]}}<!-- | -->{{#if:{{{youtube|}}}|*[[YouTube:{{{youtube}}}|watch "{{{title|{{PAGENAME}}}}}"]] on [[YouTube]]}}<!-- | ||
| - | |||
| - | |||
-->{{#if:{{{twitter|}}}|*[[Twitter:StrongBadActual/status/{{{twitter}}}|watch "{{{title|{{PAGENAME}}}}}"]] on {{#if:{{{y|}}}|{{prs|{{{twitter}}}|{{{d}}}|{{{m}}}|{{{y}}}|alt=Twitter}}|[[@StrongBadActual|Twitter]]}}}}<!-- | -->{{#if:{{{twitter|}}}|*[[Twitter:StrongBadActual/status/{{{twitter}}}|watch "{{{title|{{PAGENAME}}}}}"]] on {{#if:{{{y|}}}|{{prs|{{{twitter}}}|{{{d}}}|{{{m}}}|{{{y}}}|alt=Twitter}}|[[@StrongBadActual|Twitter]]}}}}<!-- | ||
| Line 37: | Line 35: | ||
|For [[YouTube]] videos | |For [[YouTube]] videos | ||
|{{nextlinks|filename|forum thread id|yt=YouTube id}} | |{{nextlinks|filename|forum thread id|yt=YouTube id}} | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
|- | |- | ||
| | | | ||
Revision as of 21:25, 26 January 2021
Basic usage
{{nextlinks|filename|forum thread id|yt=YouTube video ID|old=oldfilename}}- The forum thread id can be left out, if the toon doesn't have a forum thread.
Other parameters that can be used
| Parameter | Description | Example |
|---|---|---|
|
| For pages with no HTML file or Flash file | |
|
| For pages where the toon's name doesn't match the wiki page name | |
|
| For YouTube videos | |
|
| For Twitter links If the date parameters are filled in, it will automatically link to the specific Tweet on the wiki | |
|
| For links to the old Flash site | |
|
| For links to Flash files |
See Also
- {{extlinks}}
