Template:nextlinks
From Homestar Runner Wiki
(Difference between revisions)
(adding option for internal links to Tweets) |
(add support for links to old site) |
||
| Line 7: | Line 7: | ||
-->{{#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]]}}}}<!-- | ||
| + | |||
| + | -->{{#if:{{{old|}}}|{{extlinks|{{{old}}}}}}}<!-- | ||
-->{{#if:{{{forum|{{{2|}}}}}}|*[[Forum:{{{forum|{{{2|}}}}}}|forum thread re: "{{{title|{{PAGENAME}}}}}"]]}}<noinclude> | -->{{#if:{{{forum|{{{2|}}}}}}|*[[Forum:{{{forum|{{{2|}}}}}}|forum thread re: "{{{title|{{PAGENAME}}}}}"]]}}<noinclude> | ||
==Basic usage== | ==Basic usage== | ||
| - | *<code>{{nextlinks|</code>''filename''<code>|</code>''forum thread id''<code>|yt=</code>''YouTube video ID''<code>}}</code> | + | *<code>{{nextlinks|</code>''filename''<code>|</code>''forum thread id''<code>|yt=</code>''YouTube video ID''<code>|old=</code>''oldfilename''<code>}}</code> |
**The forum thread id can be left out, if the toon doesn't have a forum thread. | **The forum thread id can be left out, if the toon doesn't have a forum thread. | ||
| Line 42: | Line 44: | ||
|For [[@StrongBadActual|Twitter]] links<br>If the date parameters are filled in, it will automatically link to the specific Tweet on the wiki | |For [[@StrongBadActual|Twitter]] links<br>If the date parameters are filled in, it will automatically link to the specific Tweet on the wiki | ||
|{{nextlinks|filename|forum thread id|twitter=Twitter id|d=day|m=month|y=year}} | |{{nextlinks|filename|forum thread id|twitter=Twitter id|d=day|m=month|y=year}} | ||
| + | |- | ||
| + | | | ||
| + | <code>{{nextlinks|</code>''filename''<code>|</code>''forum thread id''<code>|yt=</code>''YouTube id''<code>|old=</code>''oldfilename''<code>}}</code> | ||
| + | |For [[YouTube]] videos | ||
| + | |{{nextlinks|filename|forum thread id|yt=YouTube id|old=oldfilename}} | ||
|} | |} | ||
Revision as of 07:50, 20 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 YouTube videos with IDs that begin with an underscore (please omit the underscore from the ID) See HRWiki:YouTube underscore issues for more information | |
|
| For Twitter links If the date parameters are filled in, it will automatically link to the specific Tweet on the wiki | |
|
| For YouTube videos |
See Also
- {{extlinks}}
