Template:Flag: Difference between revisions
Jump to navigation
Jump to search
geometrydash.wiki.gg>Crimroxs m Adding default set of pages |
geometrydash.wiki.gg>Jamasto mNo edit summary |
||
| Line 1: | Line 1: | ||
<span class="country-flag" title="{{{2|}}}">{{#if:{{{1|}}}|[[File:Flag {{{1|}}}.svg|x20px|link=]] | }}</span><noinclude> | |||
<!-- | |||
--></ | |||
-->< | --><div class="documentation"><!-- | ||
--><div class="documentation-header"><!-- | |||
-->[[File:Template-{{#ifexist:{{#vardefineecho:docpage|Template:{{#replace:{{PAGENAME}}/doc|Template:|}}<!-- end vde -->}}|{{#if:|bad}}|no}}info.svg|50px|link=]] <!-- | |||
--><span style="font-weight: bold; font-size: 125%; margin-right: 10px;">Documentation</span> <!-- | |||
-->{{#ifeq:{{SUBPAGENAME}}|doc|<!--nothing-->|<!-- | |||
-->{{#ifexist:{{#var:docpage}}|<!-- | |||
--><span style="font-size: 90%; font-style: italic;"><!-- | |||
-->[{{fullurl:{{#var:docpage}}|action=edit}} Edit] this documentation at [{{fullurl:{{#var:docpage}}|redirect=no}} {{FULLPAGENAMEE:{{#var:docpage}}}}].<!-- | |||
--></span><!-- | |||
-->}}<!-- | |||
-->}}<!-- | |||
--><div style="text-align: right; margin-left: 5px;"><!-- | |||
-->([{{fullurl:{{FULLPAGENAMEE}}/doc|action=edit}} edit] • [{{fullurl:{{FULLPAGENAMEE}}/doc|action=history}} history] • [{{fullurl:{{FULLPAGENAMEE}}|action=purge}} purge])<!-- | |||
--></div><!-- | |||
--></div><!-- | |||
<!-- leave line break here --> | |||
{{#if:|{{UsesLua|{{{lua}}} }} }} | |||
<!-- documentation text/error box begins here --> | |||
<div style="border-radius: 5px; border: 2px solid var(--wiki-content-border-color); margin: 0.5em auto 1em; padding: 0.8em 1.2em; background: var(--wiki-content-background-color--secondary);"> | |||
<!-- | |||
-->{{#ifexist:{{#var:docpage}}|<!-- | |||
If there is documentation | |||
--> | |||
{{ {{#var:docpage}} }} | |||
<!-- | |||
Else | |||
-->|<!-- | |||
-->No documentation subpage exists yet for this template. [{{fullurl:{{FULLPAGENAMEE:Template:{{PAGENAME}}}}/doc|action=edit&preload=Template:Documentation/preload}} Create one now].<!-- | |||
-->[[Category:Templates with no documentation]]<!-- | |||
-->}}<!-- leave line break here --> | |||
<!-- documentation text/error box ends here --> | |||
</div> | |||
<!-- -->{{#ifeq:{{SUBPAGENAME}}|doc|<!-- | |||
-->{{#ifeq:{{BASEPAGENAME}}|Doc|<!--nothing-->|<!-- only if page is not Template:Documentation | |||
-->This is the documentation page, it should be transcluded into the main template page. See {{tlx|doc}} for more information. <!-- | |||
-->[[Category:Template documentation]]<!-- | |||
-->}}<!-- | |||
-->}}<!-- | |||
--></div><!-- | |||
--><!-- | |||
--> | |||
[[Category:General templates]]</noinclude> | |||
Revision as of 10:07, 25 June 2025
No documentation subpage exists yet for this template. Create one now.