Actions

Template

Difference between revisions of "DB/doc"

From The RadioReference Wiki

< Template:DB
(Created page with "==Documentation Sub-page for Template:DB== ===Scope of Use=== ====Purpose==== * This template creates a stand alone link for one database entry from the wiki ====Directly Invo...")
 
Line 27: Line 27:
 
----
 
----
 
<nowiki>
 
<nowiki>
{{DB|s|1111|This is an example}} results in:
+
{{DB|s|1111|This is an example}}  
 +
</nowiki>
  
 +
results in:
  
 +
<nowiki>
 
[http://www.radioreference.com/apps/db/?sid=1111 This is an example]
 
[http://www.radioreference.com/apps/db/?sid=1111 This is an example]
 
</nowiki>
 
</nowiki>
 +
 +
which creates a link that says 'This is an example'
  
  

Revision as of 15:45, 10 October 2017

Documentation Sub-page for Template:DB

Scope of Use

Purpose

  • This template creates a stand alone link for one database entry from the wiki


Directly Invoked By

  • Any article where database information can be referenced, and can be obtained from the database
  • There are various forms of this functionality in many of the trunk system infoboxes
  • This can also be used when documenting a MOTOTRBO conventional network system, where the database has this data in the trunked system area


Parameters

The parameters are numbered as shown below;

[http://www.radioreference.com/apps/db/?{{{1}}}id={{{2}}} {{{3|View the corresponding database page for this article.}}}]

  1. - Should either be a s (for the sid) or a (for the aid). This comes directly from the URL of the database entry
  2. - The SID or AID number. This also comes from the URL of the entry
  3. - Identifying text. The default text is shown after the number, and will display if nothing is assigned.


Examples

  • The horizontal lines below separate examples for clarity and do not appear when template is invoked.


{{DB|s|1111|This is an example}}

results in:

[http://www.radioreference.com/apps/db/?sid=1111 This is an example]

which creates a link that says 'This is an example'


How to invoke this template

{{DB|s|9484|Embassy Suites}}


Result

Embassy Suites


Return to: Template:DB