(created template) |
No edit summary |
||
Line 2: | Line 2: | ||
| type = forum | | type = forum | ||
| style = background: #cadceb; | | style = background: #cadceb; | ||
| text = {{#if: {{{forum|}}} | | text = {{#if: {{{topicid|}}} | ||
| You can bring up comments or questions about this at [http://www.waze.com/{{{lang|}}}/forum/viewtopic.php?f={{{forumid|276}}}&t={{{topicid}}} {{nobr|'''''{{{forum|{{{1|this}}}}}}''' forum topic''}}]. | |||
| Comments or questions on | |{{#if: {{{forum|}}} | ||
}} | | Comments or questions on this page can be brought up in the [https://www.waze.com/{{{lang|}}}/forum/search.php?keywords={{urlencode:{{{forum}}}}}&terms=all&sv=0&fid%5B%5D={{{forumid|276}}}&sc=1&sf=titleonly&sr=topics&sk=t&sd=d&st=0&ch=300&t=0&submit=Search {{nobr|'''''{{{forum}}}''' forum topic''}}]. | ||
|{{#if: {{{2|}}} | |||
| You can bring up comments or questions about this in [http://www.waze.com/{{{lang|}}}/forum/viewtopic.php?f={{{forumid|276}}}&t={{{2}}} {{nobr|'''''{{{1|'''this'''}}}''' forum topic''}}]. | |||
|{{#if: {{{1|}}} | |||
| {{#ifexpr: {{#ifeq:{{{1}}}|{{#expr:{{{1}}}}}|1|0}} <!--if numeric--> | |||
| Please bring up comments or questions about this in [http://www.waze.com/{{{lang|}}}/forum/viewtopic.php?f={{{forumid|276}}}&t={{{1}}} {{nobr|''this forum topic''}}]. | |||
| <!--non-numeric, invoke search--> Please bring up comments or questions on this page in the [https://www.waze.com/{{{lang|}}}/forum/search.php?keywords={{urlencode:{{{1}}}}}&terms=all&sv=0&fid%5B%5D={{{forumid|276}}}&sc=1&sf=titleonly&sr=topics&sk=t&sd=d&st=0&ch=300&t=0&submit=Search {{nobr|'''''{{{1}}}''' forum topic''}}]. | |||
<!--close single positional parameter text or number-->}} | |||
|<!--else default!-->Comments or questions on any Wiki page can be brought up in the [http://www.waze.com/{{{lang|}}}/forum/viewforum.php?f={{{forumid|276}}} ''{{#if: {{{forumid|}}}this|'''Wiki{{nbsp}}updates'''}}{{nbsp}}forum{{nbsp}}topic'']. | |||
<!--close innermost 'if:' we have 1 positional/else no parameters default-->}} | |||
<!--close case of have 2 positional/else 1 or default-->}} | |||
<!--close case have forum parameter (but no id)/else check positionals-->}} | |||
<!--close 1st if: have id parameter (and possible forum)/else check forum alone-->}} | |||
}}<!--This category is for the page on which this template will get transcluded | }}<!--This category is for the page on which this template will get transcluded | ||
--><includeonly><!-- no category created for this template.--></includeonly><!-- | --><includeonly><!-- no category created for this template.--></includeonly><!-- | ||
--><noinclude>{{doc}}</noinclude> | --><noinclude>{{doc}}</noinclude> |
Revision as of 20:21, 27 June 2014
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 }}
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.
Examples
{{ForumLink|forum=http://www.waze.com/forum/viewtopic.php?f=276&t=98195}}will generate the following:
Comments or questions on this page can be brought up in the http://www.waze.com/forum/viewtopic.php?f=276&t=98195 forum topic. |
{{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}}</wikilink>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!|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. |
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. |