Editing
Template:Query/doc
(section)
Jump to navigation
Jump to search
⚠️
Warning:
You are not logged in.
Your IP address will be publicly visible
if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username instead of your IP, along with other benefits.
Anti-spam check. Do
not
fill this in!
Preview
Advanced
Special characters
Help
Heading
Level 2
Level 3
Level 4
Level 5
Format
Insert
Latin
Latin extended
IPA
Symbols
Greek
Greek extended
Cyrillic
Arabic
Arabic extended
Hebrew
Bangla
Tamil
Telugu
Sinhala
Devanagari
Gujarati
Thai
Lao
Khmer
Canadian Aboriginal
Runes
Á
á
À
à
Â
â
Ä
ä
Ã
ã
Ǎ
ǎ
Ā
ā
Ă
ă
Ą
ą
Å
å
Ć
ć
Ĉ
ĉ
Ç
ç
Č
č
Ċ
ċ
Đ
đ
Ď
ď
É
é
È
è
Ê
ê
Ë
ë
Ě
ě
Ē
ē
Ĕ
ĕ
Ė
ė
Ę
ę
Ĝ
ĝ
Ģ
ģ
Ğ
ğ
Ġ
ġ
Ĥ
ĥ
Ħ
ħ
Í
í
Ì
ì
Î
î
Ï
ï
Ĩ
ĩ
Ǐ
ǐ
Ī
ī
Ĭ
ĭ
İ
ı
Į
į
Ĵ
ĵ
Ķ
ķ
Ĺ
ĺ
Ļ
ļ
Ľ
ľ
Ł
ł
Ń
ń
Ñ
ñ
Ņ
ņ
Ň
ň
Ó
ó
Ò
ò
Ô
ô
Ö
ö
Õ
õ
Ǒ
ǒ
Ō
ō
Ŏ
ŏ
Ǫ
ǫ
Ő
ő
Ŕ
ŕ
Ŗ
ŗ
Ř
ř
Ś
ś
Ŝ
ŝ
Ş
ş
Š
š
Ș
ș
Ț
ț
Ť
ť
Ú
ú
Ù
ù
Û
û
Ü
ü
Ũ
ũ
Ů
ů
Ǔ
ǔ
Ū
ū
ǖ
ǘ
ǚ
ǜ
Ŭ
ŭ
Ų
ų
Ű
ű
Ŵ
ŵ
Ý
ý
Ŷ
ŷ
Ÿ
ÿ
Ȳ
ȳ
Ź
ź
Ž
ž
Ż
ż
Æ
æ
Ǣ
ǣ
Ø
ø
Œ
œ
ß
Ð
ð
Þ
þ
Ə
ə
Formatting
Links
Headings
Lists
Files
Discussion
References
Description
What you type
What you get
Italic
''Italic text''
Italic text
Bold
'''Bold text'''
Bold text
Bold & italic
'''''Bold & italic text'''''
Bold & italic text
Description
What you type
What you get
Reference
Page text.<ref>[https://www.example.org/ Link text], additional text.</ref>
Page text.
[1]
Named reference
Page text.<ref name="test">[https://www.example.org/ Link text]</ref>
Page text.
[2]
Additional use of the same reference
Page text.<ref name="test" />
Page text.
[2]
Display references
<references />
↑
Link text
, additional text.
↑
Link text
== TemplateData == <templatedata> { "params": { "table": { "label": "Table", "description": "The Cargo table to search in. Go to [[Special:CargoTables]] to see all tables.", "example": "discord_servers", "type": "string", "required": true }, "get": { "label": "Field to display", "description": "The table column from which data should be retrieved and output. For example, if you wanted to find and output Whenthe's status, you would put the \"status\" column here.", "example": "status", "type": "string", "required": true }, "filter_col": { "description": "The table column that contains the values you want to filter. If using this parameter, the \"from\" parameter will be ignored, and you MUST also use the filter_col_by parameter.", "example": "name", "type": "string" }, "filter_col_val": { "description": "The value you're searching for from the column defined in the filter_col parameter. Only the data from rows that match this value in the column will be used. This parameter has no effect if filter_col is not defined.", "example": "Whenthe", "type": "string" }, "from": { "label": "From", "description": "Filters results by name or ID. If this is in the format of a Discord ID, then only results whose \"id\" column matches this parameter will be used. Otherwise, only results whose \"name\" column matches this parameter will be used. For example, if you wanted to find and output Whenthe's status, you would put Whenthe's name or ID here. If there's a different column you want to filter by, you can use the filter_col and filter_col_val parameters instead.", "example": "Whenthe", "type": "string", "suggested": true }, "limit": { "description": "The maximum number of results to get. Many queries only have one result. If there is more, and this parameter is set to a number greater than the default 1, the results will be output in a comma-delimited list.", "type": "number", "default": "1" }, "default": { "description": "What to output if no results are found.", "type": "string", "default": "(empty string)" }, "has_html": { "description": "Set this to \"yes\" if the output you want contains HTML that you want to use.", "type": "boolean" } }, "description": "Does a simple query for data from a Cargo table. It returns data from one column of one table, by filtering one other column.", "paramOrder": [ "table", "get", "from", "filter_col", "filter_col_val", "limit", "default", "has_html" ] } </templatedata> <includeonly> [[Category:Templates that query Cargo]] </includeonly>
Summary:
Please note that all contributions to Irony Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see
Irony Wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
English
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Template
Discussion
English
Views
Read
Edit source
More
View history
Purge cache
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information
Cargo data