Kentsmith9 (talk | contribs) (Moving unread icon to end of example 1) |
Kentsmith9 (talk | contribs) (Fixed formatting) |
||
Line 5: | Line 5: | ||
| style = background: #cadceb; | | style = background: #cadceb; | ||
| text = {{#if: {{{forum|}}} | | text = {{#if: {{{forum|}}} | ||
| | | Bring up comments or questions on this page in [{{{forum}}} {{{text|{{{1|this forum}}}}}}] [[File:Forum topic unread.gif|link={{{forum}}}&view=unread#unread]]. | ||
| {{#if: {{{topicid|}}} | | {{#if: {{{topicid|}}} | ||
| {{Anchor|ForumLink via topicid}}You can bring up comments or questions about this at [[File:Forum topic unread.gif|link=http://www.waze.com/{{{lang|}}}/forum/viewtopic.php?f={{{forumid|276}}}&t={{{topicid}}}&view=unread#unread]] [http://www.waze.com/{{{lang|}}}/forum/viewtopic.php?f={{{forumid|276}}}&t={{{topicid}}} {{nobr|'''''{{{text|{{{1|this}}}}}}''' forum topic''}}]. | | {{Anchor|ForumLink via topicid}}You can bring up comments or questions about this at [[File:Forum topic unread.gif|link=http://www.waze.com/{{{lang|}}}/forum/viewtopic.php?f={{{forumid|276}}}&t={{{topicid}}}&view=unread#unread]] [http://www.waze.com/{{{lang|}}}/forum/viewtopic.php?f={{{forumid|276}}}&t={{{topicid}}} {{nobr|'''''{{{text|{{{1|this}}}}}}''' forum topic''}}]. |
Revision as of 00:39, 21 October 2015
Comments or questions on any Wiki page can be brought up in the Wiki updates forum topic. |
Usage
Place {{ForumLink}} on a page where this message box is desired. The template is designed to automatically decode as many of the parameters as possible, but a few require being named in the template. The default condition with no parameters will send the user to the general forum on Wiki updates.
Any of the following (simplified syntax):
{{ForumLink | search-linktext }} {{ForumLink | topicid-wikiforum }} {{ForumLink | link-text | topicid-wikiforum }} {{ForumLink | forumid=nnn | search-linktext | topicid }} {{ForumLink | lang=aa | forumid=nnn | linktext | topicid }} {{ForumLink | forum=url }} {{ForumLink | forum=url | linktext}}
Parameters
forum
- Optional parameter. The value is a URL to the Waze forum topic thread that covers a discussion of the wiki page that uses this template.
forumid
- Optional parameter. If the target Waze forum is not the Wiki forum, the forumid value can be entered. This also requires a
|topicid=
value.
text
- Optional parameter. If the target is using the
|forum=
or|topicid=
parameters, this will modify the link text. otherwise this will used as a forum search query text.
section
- Optional parameter. If
|section=yes
is used it will the displayed text from saying "this page", to say "this section" instead.
community
- Optional parameter. If
|community=USA
(or other community name after being built into the template) is used, the link generated when a forumid or full URL is not specified will point to the local wiki forum for that specific community.
Examples
{{ForumLink|forum=http://www.waze.com/forum/viewtopic.php?f=276&t=98195}}will generate the following:
Bring up comments or questions on this page in this forum . |
{{ForumLink}}will generate the following:
Comments or questions on any Wiki page can be brought up in the Wiki updates forum topic. |
{{ForumLink|New Page - WME Chat|89344}}generates:
You can bring up comments or questions about this in New Page - WME Chat forum topic. |
{{ForumLink|Go to the first topic in New Jersey's forum, guys!|69883|forumid=249}}generates:
You can bring up comments or questions about this in Go to the first topic in New Jersey's forum, guys! forum topic. |
{{ForumLink|Some keywords to search the forum for}}generates:
Please bring up comments or questions on this page in the Some keywords to search the forum for forum topic. |
Category added
No category is added to pages with this template.
See also
- {{mbox}}
The above documentation is transcluded from Template:ForumLink/doc. Please add categories to the /doc subpage. Subpages of this template. |