Difference between revisions of "RR Wiki Extensions"
From The RadioReference Wiki
(updated article with new 3.0 details) |
|||
Line 1: | Line 1: | ||
The RadioReference Wiki has some custom extensions. Many of these can be used to display dynamic data in the database of custom pages of information. They are currently as follows: | The RadioReference Wiki has some custom extensions. Many of these can be used to display dynamic data in the database of custom pages of information. They are currently as follows: | ||
− | == | + | == Converting from pre-3.0 tags to 3.0 tags == |
− | You can display | + | If your article is missing data, or you are editing an old article with frequency or talkgroup information, please see the [[Wiki Extensions Conversion Guide]] for the required coding changes |
+ | |||
+ | == Displaying Conventional Frequencies == | ||
+ | You can display conventional frequencies stored in the database with the following tag: | ||
<pre> | <pre> | ||
− | <nowiki>< | + | <nowiki><freqsubcat>xxx</freqsubcat></nowiki> |
</pre> | </pre> | ||
− | + | Where: | |
+ | |||
+ | xxx = The Frequency Subcategory ID | ||
+ | |||
+ | To find the subcat ID, click on the page symbol with the small circle next to it, and the following results: | ||
+ | |||
+ | [[image:Conventional.jpg]] | ||
− | == Trunked System | + | == Displaying Frequencies for a Trunked System == |
You can display the frequencies for a Trunked Radio System in the database with the following tag: | You can display the frequencies for a Trunked Radio System in the database with the following tag: | ||
<pre> | <pre> | ||
− | <nowiki><site>xxx| | + | <nowiki><site>xxx|sssss</site></nowiki> |
</pre> | </pre> | ||
Where: | Where: | ||
xxx = The Trunked Radio Database sid number | xxx = The Trunked Radio Database sid number | ||
− | + | sssss = The system's Unique DB Site ID | |
+ | |||
+ | To find the "sid" for a trunked system, look in the URL for each trunked system entry: | ||
+ | |||
+ | [[image:Determine sid3.0.gif|normal|Determining Trunked System SID]] | ||
+ | |||
+ | Next to the site number (shown circled on the left) is the site name. If there is more than one site, you must choose which site name you wish to display. In this case, click on '''simulcast''' | ||
+ | |||
+ | [[image:Sitenumber30.gif|Finding the site number]] | ||
+ | <br> | ||
+ | Use the '''Unique DB Site ID''' as the second value for the tag. | ||
+ | |||
+ | [[image:Sitexample.gif|Get the Unique DB Site ID]] | ||
+ | <br> | ||
+ | So in this case, the correct site tag would read:<br> | ||
+ | <pre> | ||
+ | <nowiki><site>187|5129</site></nowiki> | ||
+ | </pre> | ||
− | == | + | == Displaying Talkgroups == |
You can display the talkgroups for a Trunked Radio System in the database with the following tag: | You can display the talkgroups for a Trunked Radio System in the database with the following tag: | ||
<pre> | <pre> | ||
− | <nowiki><tg>xxx| | + | <nowiki><tg>xxx|yyyyy</tg></nowiki> |
</pre> | </pre> | ||
Line 27: | Line 53: | ||
xxx = The Trunked Radio Database sid number | xxx = The Trunked Radio Database sid number | ||
− | + | yyyyy = The unique ID that's shown in the 2nd image below | |
− | |||
− | ' | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | To find the | + | The SID is found using the method above. This is the first value in the tag.<br> |
+ | To find the unique ID, go down to the desired talkgroups and point at the page symbol with a small circle next to it. The following display results: | ||
[[image:Trunkedstep1.gif]] | [[image:Trunkedstep1.gif]] | ||
− | Click on it, and the following image results. | + | Click on it, and the following image results. Use the '''Unique ID''' as the 2nd value in the tag. |
[[image:Trunkestep2.gif]] | [[image:Trunkestep2.gif]] | ||
− | + | <br> | |
− | + | In this case, the complete tag would read:<br> | |
− | |||
<pre> | <pre> | ||
− | <nowiki>< | + | <nowiki><tg>187|1455</tg></nowiki> |
</pre> | </pre> | ||
− | |||
− | + | ==Displaying Recently Updated Frequencies and Talkgroups== | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | ==Displaying Updated Frequencies and Talkgroups== | ||
''You've submitted changes to the database, they've been entered - why can't I see the changes on the Wiki?'' | ''You've submitted changes to the database, they've been entered - why can't I see the changes on the Wiki?'' | ||
Line 71: | Line 80: | ||
<small>[http://wiki.radioreference.com/index.php/Andrews_Air_Force_Base%2C_MD?action=purge Refresh] this page from the latest database entry</small> | <small>[http://wiki.radioreference.com/index.php/Andrews_Air_Force_Base%2C_MD?action=purge Refresh] this page from the latest database entry</small> | ||
</nowiki> | </nowiki> | ||
+ | |||
+ | ==Displaying EBay Search Results== | ||
+ | You can display Ebay search results with the following tag: | ||
+ | <pre> | ||
+ | <nowiki><ebay>Your Search Here</ebay></nowiki> | ||
+ | </pre> | ||
+ | This extension is helpful for displaying used equipment on many of the equipment pages. | ||
[[Category:FAQ]] | [[Category:FAQ]] |
Revision as of 14:25, 30 December 2007
The RadioReference Wiki has some custom extensions. Many of these can be used to display dynamic data in the database of custom pages of information. They are currently as follows:
Contents
Converting from pre-3.0 tags to 3.0 tags
If your article is missing data, or you are editing an old article with frequency or talkgroup information, please see the Wiki Extensions Conversion Guide for the required coding changes
Displaying Conventional Frequencies
You can display conventional frequencies stored in the database with the following tag:
<freqsubcat>xxx</freqsubcat>
Where:
xxx = The Frequency Subcategory ID
To find the subcat ID, click on the page symbol with the small circle next to it, and the following results:
Displaying Frequencies for a Trunked System
You can display the frequencies for a Trunked Radio System in the database with the following tag:
<site>xxx|sssss</site>
Where:
xxx = The Trunked Radio Database sid number sssss = The system's Unique DB Site ID
To find the "sid" for a trunked system, look in the URL for each trunked system entry:
Determining Trunked System SID
Next to the site number (shown circled on the left) is the site name. If there is more than one site, you must choose which site name you wish to display. In this case, click on simulcast
Finding the site number
Use the Unique DB Site ID as the second value for the tag.
Get the Unique DB Site ID
So in this case, the correct site tag would read:
<site>187|5129</site>
Displaying Talkgroups
You can display the talkgroups for a Trunked Radio System in the database with the following tag:
<tg>xxx|yyyyy</tg>
Where:
xxx = The Trunked Radio Database sid number yyyyy = The unique ID that's shown in the 2nd image below
The SID is found using the method above. This is the first value in the tag.
To find the unique ID, go down to the desired talkgroups and point at the page symbol with a small circle next to it. The following display results:
Click on it, and the following image results. Use the Unique ID as the 2nd value in the tag.
In this case, the complete tag would read:
<tg>187|1455</tg>
Displaying Recently Updated Frequencies and Talkgroups
You've submitted changes to the database, they've been entered - why can't I see the changes on the Wiki?
The reason is that you are getting your old page from the Wiki's page cache. What is needed is to clear the cache, so the Wiki is forced to rebuild a new article, and the extensions will pull the updated information. To do this, add the statement ?action=purge to the end of the URL, then press enter.
It's recommended that all articles that use the extensions to pull frequencies and talkgroups add a link at the bottom of the article for this purpose. Using the <small> tag will keep it out of the way of the rest of the details. For example
<small>[http://wiki.radioreference.com/index.php/Andrews_Air_Force_Base%2C_MD?action=purge Refresh] this page from the latest database entry</small>
Displaying EBay Search Results
You can display Ebay search results with the following tag:
<ebay>Your Search Here</ebay>
This extension is helpful for displaying used equipment on many of the equipment pages.