Template:Tabular query/doc
Appearance
This is a documentation subpage for Template:Tabular query. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
This template is just a simple wrapper for Module:Tabular data. This wrapper can only return a single cell.
Usage
[edit]{{Tabular query|SELECT=wikidataID|FROM=Data|WHERE=wikidataLabel|IS=Miltenberg}}
→ Q502681
This data came from c:Data:Data.tab. (FROM=Data)
{{Tabular query|SELECT=emoji|FROM=Emoji/List|WHERE=name|IS=grinning face}}
→ 😀
This data came from c:Data:Emoji/List.tab. (FROM=Emoji/List)
Up to 4 fields can be combined:
{{Tabular query|SELECT=name,code,emoji|FROM=Emoji/List|WHERE=name|IS=grinning face|format=The "%s" emoji is represented by Unicode code point %s and rendered in your browser it looks like %s.}}
→ The "grinning face" emoji is represented by Unicode code point 1f600 and rendered in your browser it looks like 😀.