Template:Documentation: Difference between revisions

From DETR
Archive maintenance: resolve wanted pages and link target
 
Do not emit redlink when /doc is absent
 
Line 1: Line 1:
<includeonly><div style="clear:both; border:1px solid #ccd1d5; background:#f4f5f7; color:#2c3e50; padding:10px 15px; margin:1em 0;">
<includeonly><div style="clear:both; border:1px solid #ccd1d5; background:#f4f5f7; color:#2c3e50; padding:10px 15px; margin:1em 0;">
<div style="font-weight:bold; border-bottom:1px solid #ccd1d5; padding-bottom:4px; margin-bottom:8px;">Template documentation</div>
<div style="font-weight:bold; border-bottom:1px solid #ccd1d5; padding-bottom:4px; margin-bottom:8px;">Template documentation</div>
{{#ifexist:{{{1|{{FULLPAGENAME}}/doc}}}|{{{{{1|{{FULLPAGENAME}}/doc}}}}}|''No documentation page yet. Create [[{{FULLPAGENAME}}/doc]].''}}
{{#ifexist:{{FULLPAGENAME}}/doc|{{{{FULLPAGENAME}}/doc}}|<span style="font-style:italic; color:#7f8c8d;">No documentation subpage. [{{fullurl:{{FULLPAGENAME}}/doc|action=edit}} Create one].</span>}}
</div></includeonly><noinclude>
</div></includeonly><noinclude>
Transcludes the /doc subpage of a template.
Transcludes the /doc subpage of a template if one exists.
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 19:16, 14 August 2026

Transcludes the /doc subpage of a template if one exists.