Editing Parameters/doc
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, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 7: | Line 7: | ||
=== Options === | === Options === | ||
− | |||
==== check ==== | ==== check ==== | ||
− | + | <pre>{{subst:Parameters|check|base=Infobox high court}}</pre> | |
− | <pre | + | {{Hidden|header=Output|content= |
− | {{Hidden | ||
<pre style="white-space: normal; word-break: break-all;">{{#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using Template:Infobox high court with unknown parameters]]|court_name|native_name|image|imagesize|width|height|caption|image2|imagesize2|caption2|established|dissolved|country|location|coordinates|motto|type|at|authority|appeals|terms|positions|budget|website|chiefjudgetitle|chiefjudgename|termstart|termend|termend2|chiefjudgetitle2|chiefjudgename2|termstart2|termend3|termend4}}</pre> | <pre style="white-space: normal; word-break: break-all;">{{#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using Template:Infobox high court with unknown parameters]]|court_name|native_name|image|imagesize|width|height|caption|image2|imagesize2|caption2|established|dissolved|country|location|coordinates|motto|type|at|authority|appeals|terms|positions|budget|website|chiefjudgetitle|chiefjudgename|termstart|termend|termend2|chiefjudgetitle2|chiefjudgename2|termstart2|termend3|termend4}}</pre> | ||
}} | }} | ||
==== code ==== | ==== code ==== | ||
− | + | <pre>{{subst:Parameters|code|base=Infobox high court}}</pre> | |
− | <pre | + | {{Hidden|header=Output|content= |
− | {{Hidden | ||
<pre>{{Infobox high court | <pre>{{Infobox high court | ||
| court_name = | | court_name = | ||
Line 58: | Line 55: | ||
==== compare ==== | ==== compare ==== | ||
− | + | <pre>{{subst:Parameters|compare|base=Infobox London station|other=Infobox station}}</pre> | |
− | <pre | + | {{Hidden|header=Output|content= |
− | {{Hidden | ||
<pre>Identical: | <pre>Identical: | ||
* borough | * borough | ||
Line 215: | Line 211: | ||
==== demo ==== | ==== demo ==== | ||
− | + | <pre>{{subst:Parameters|demo|base=Infobox high court}}</pre> | |
− | <pre | + | {{Hidden|header=Output|content= |
− | {{Hidden | ||
<pre style="white-space: normal; word-break: break-all;">{{Parameter names example|court_name|native_name|image|imagesize|width|height|caption|image2|imagesize2|caption2|established|dissolved|country|location|coordinates|motto|type|at|authority|appeals|terms|positions|budget|website|chiefjudgetitle|chiefjudgename|termstart|termend|termend2|chiefjudgetitle2|chiefjudgename2|termstart2|termend3|termend4}}</pre> | <pre style="white-space: normal; word-break: break-all;">{{Parameter names example|court_name|native_name|image|imagesize|width|height|caption|image2|imagesize2|caption2|established|dissolved|country|location|coordinates|motto|type|at|authority|appeals|terms|positions|budget|website|chiefjudgetitle|chiefjudgename|termstart|termend|termend2|chiefjudgetitle2|chiefjudgename2|termstart2|termend3|termend4}}</pre> | ||
}} | }} | ||
==== dlist ==== | ==== dlist ==== | ||
− | + | <pre>{{subst:Parameters|dlist|base=Infobox high court}}</pre> | |
− | <pre | + | {{Hidden|header=Output|content= |
− | {{Hidden | ||
<pre> | <pre> | ||
; court_name: | ; court_name: | ||
Line 264: | Line 258: | ||
==== list ==== | ==== list ==== | ||
− | + | <pre>{{subst:Parameters|list|base=Infobox high court}}</pre> | |
− | <pre | + | {{Hidden|header=Output|content= |
− | {{Hidden | ||
<pre>* court_name | <pre>* court_name | ||
* native_name | * native_name | ||
Line 304: | Line 297: | ||
=== Common use cases === | === Common use cases === | ||
− | * To add a {{Tl|Parameter names example}} to a template's documentation, use | + | * To add a {{Tl|Parameter names example}} to a template's documentation, use <code><nowiki>{{subst:Parameters|demo|base={{subst:BASEPAGENAME}}|_base=}}</nowiki></code>. |
− | * To document the transclusion syntax, use | + | * To document the transclusion syntax, use <code><nowiki>{{subst:#tag:pre|{{subst:Parameters|code|base={{subst:BASEPAGENAME}}}}|style="overflow: auto;"}}</nowiki></code>. |
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | ||
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
− | [[Category: | + | [[Category:Template documentation]] |
[[Category:Wikipedia utility templates]] | [[Category:Wikipedia utility templates]] | ||
− | |||
− | |||
}}</includeonly> | }}</includeonly> |