User:Qwaletee/Test2 View history

(Created page with "No parameters {{User:Qwaletee/Test1}} Named parameter forum: {{User:Qwaletee/Test1|forum=forum named parameter}} Unnamed first oarameter: {{User:Qwaletee/Test1|unnamed}}")
 
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
No parameters {{User:Qwaletee/Test1}}
<!--Sample URL


Named parameter forum: {{User:Qwaletee/Test1|forum=forum named parameter}}
https://www.waze.com/forum/search.php?keywords=[New+Page]+WME+Chat&terms=all&author=&sv=0&fid%5B%5D=276&sc=1&sf=titleonly&sr=topics&sk=t&sd=d&st=0&ch=300&t=0&submit=Search


Unnamed first oarameter: {{User:Qwaletee/Test1|unnamed}}
Encoded URL
 
https://www.waze.com/forum/search.php?keywords={{urlencode:[New Page] WME Chat}}&terms=all&sv=0&fid%5B%5D=276&sc=1&sf=titleonly&sr=topics&sk=t&sd=d&st=0&ch=300&t=0&submit=Search
-->
Sample parameter sets, using example of [New Page] WME Chat (which is topic ID 89344)
 
Note: This actually does not call <nowiki>{{ForumLink}}</nowiki>, in case Kent does not want to replace his original version. Instead, it calls the same functional code in a test tempplate page.
 
1. No parameters {{User:Qwaletee/Test1}}
 
2. Positional first parameter topic name: {{User:Qwaletee/Test1|[New Page] WME Chat}}
 
3. Positional first parameter #: {{User:Qwaletee/Test1|89344}}
 
4. Positional two parameters (note name doesn't match!): {{User:Qwaletee/Test1|New Page - WME Chat|89344}}
 
5. Positional three parameters: {{User:Qwaletee/Test1|[New Page] WME Chat|89344|unused}}
 
6. Named parameter forum (topic): {{User:Qwaletee/Test1|forum=[New Page] WME Chat}}
 
7. Named parameter id {{User:Qwaletee/Test1|topicid=89344}}
 
8. Both named parameters {{User:Qwaletee/Test1|topicid=89344|forum=[New Page] WME Chat}}
 
9. What happens when when the topic ID is wrong but name is provided: {{User:Qwaletee/Test1|topicid=987654|forum=[New Page] WME Chat}}
 
10. Same (wrong topic ID), but no topic name provided: {{User:Qwaletee/Test1|topicid=9876543210}}
 
11. What happens when you leave out ID, but the topic being searched for does not exist: {{User:Qwaletee/Test1|Youwillnotfind thisanywehere Ihope}}
 
SPECIAL CASES - different forum or different language
 
12. Canada forum - CM inro topic (note mixed named and positional parameters) {{User:Qwaletee/Test1|Community Manager introduction|forumid=57}}
 
13. Same w/topicid supplied (note both topic ID and forum ID supplied): {{User:Qwaletee/Test1|Community Manager introduction|topicid=54737|forumid=57}}
 
14. Hebrew board "OFF TOPIC" forum (note forumID is same as Canada, different languages and different sets of ID) {{User:Qwaletee/Test1|חג שבועות שמח|forumid=57|lang=he}}
 
15. Same w/topicid supplied (note how topic name is completely changed): {{User:Qwaletee/Test1|Happy holiday - Shavuoth|27040|forumid=57|lang=he}}
 
16. And just simply to the main Hebrew board index, but unfortunately, you can't override the (wrong) default text in this implementation yet: {{User:Qwaletee/Test1|forumid=57|lang=he}}

Latest revision as of 20:20, 27 June 2014

Sample parameter sets, using example of [New Page] WME Chat (which is topic ID 89344)

Note: This actually does not call {{ForumLink}}, in case Kent does not want to replace his original version. Instead, it calls the same functional code in a test tempplate page.

1. No parameters

Comments or questions on any Wiki page can be brought up in the Wiki updates forum topic.

2. Positional first parameter topic name:

Please bring up comments or questions on this page in the [New Page WME Chat forum topic].

3. Positional first parameter #:

Please bring up comments or questions about this in this forum topic.

4. Positional two parameters (note name doesn't match!):

You can bring up comments or questions about this in New Page - WME Chat forum topic.

5. Positional three parameters:

You can bring up comments or questions about this in [New Page WME Chat forum topic].

6. Named parameter forum (topic):

Comments or questions on this page can be brought up in the [New Page WME Chat forum topic].

7. Named parameter id

You can bring up comments or questions about this at this forum topic.

8. Both named parameters

You can bring up comments or questions about this at [New Page WME Chat forum topic].

9. What happens when when the topic ID is wrong but name is provided:

You can bring up comments or questions about this at [New Page WME Chat forum topic].

10. Same (wrong topic ID), but no topic name provided:

You can bring up comments or questions about this at this forum topic.

11. What happens when you leave out ID, but the topic being searched for does not exist:

Please bring up comments or questions on this page in the Youwillnotfind thisanywehere Ihope forum topic.

SPECIAL CASES - different forum or different language

12. Canada forum - CM inro topic (note mixed named and positional parameters)

Please bring up comments or questions on this page in the Community Manager introduction forum topic.

13. Same w/topicid supplied (note both topic ID and forum ID supplied):

You can bring up comments or questions about this at Community Manager introduction forum topic.

14. Hebrew board "OFF TOPIC" forum (note forumID is same as Canada, different languages and different sets of ID)

Please bring up comments or questions on this page in the חג שבועות שמח forum topic.

15. Same w/topicid supplied (note how topic name is completely changed):

You can bring up comments or questions about this in Happy holiday - Shavuoth forum topic.

16. And just simply to the main Hebrew board index, but unfortunately, you can't override the (wrong) default text in this implementation yet:

Comments or questions on any Wiki page can be brought up in the Wiki updates forum topic.