Jump to content

Module:Module sandbox/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Undid revision 1158808675 by Westindiaman (talk)
Undid revision 1158808483 by Westindiaman (talk) my bad, accidentally used the documentation page instead of the actual testing page - reverted everything
Line 3: Line 3:
== Usage ==
== Usage ==


<code><nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|''function_name''}}
<code><nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|''function_name''}}</code>


return {
images = {
default = 'Brazil Acre location map.svg',
},
name = 'Acre',
zone = 'estado',
genre = 'msi',
top = -7.01,
bottom = -11.19,
left = -74.03,
right = -66.47,
projection = 'Projeção equiretangular',
wikidata = 'Q40780',
}
</code>


<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |


return {
name = 'Brazil Acre',
top = -7.01,
bottom = -11.19,
left = -74.03,
right = -66.47,
image = 'Brazil Acre location map.svg',
}
<!-- Categories below this line, please; interwikis at Wikidata -->
<!-- Categories below this line, please; interwikis at Wikidata -->


}}</includeonly>
}}</includeonly>



return {
name = 'Brazil Acre',
top = -7.01,
bottom = -11.19,
left = -74.03,
right = -66.47,
image = 'Brazil Acre location map.svg',
}

Revision as of 10:47, 6 June 2023

Usage

{{#invoke:Module sandbox|function_name}}