v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Template:Documentation"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(New page: #ifexist:{{FULLPAGENAME}}/doc| <div style=" clear: both; margin: 1em 0 0 0; border: 1px solid #aaa; background-color: #ecfcf4; padding: 5px;"> __NOTOC__ ==Documentation== ...)
 
(Change purge link - should purge the template page not the doc.)
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
#ifexist:{{FULLPAGENAME}}/doc|
+
<div class="plainlinks" style=" clear: both; margin: 1em 0 0 0; border: 1px solid #aaa; background-color: #f0f0f8; padding: 5px 1em; {{border radius|.4em}}">
<div style="   clear: both;   margin: 1em 0 0 0;   border: 1px solid #aaa;     background-color: #ecfcf4;     padding: 5px;">
+
<h2><span style="float: right; font-size: small; font-family: sans-serif;">
__NOTOC__
+
([[{{{1|{{FULLPAGENAME}}/doc}}}|<span title="View this documentation">view</span>]] - {{
==Documentation==
+
#ifexist:{{{1|{{TALKSPACE}}:{{PAGENAME}}}}}/doc|[[{{{1|{{TALKSPACE}}:{{PAGENAME}}}}}/doc|<span title="Discuss this documentation">talk</span>]] -&nbsp;
{{ {{FULLPAGENAME}}/doc }}
+
}}[{{fullurl:{{{1|{{FULLPAGENAME}}/doc}}}|action=edit}} <span title="Edit this documentation">edit</span>] -
 +
[{{fullurl:{{{1|{{FULLPAGENAME}}/doc}}}|action=history}} <span title="Documentation history">history</span>] -
 +
[{{fullurl:{{{1|{{FULLPAGENAME}}}}}|action=purge}} <span title="Purge this documentation (causes it to be updated; use only if it doesn't update after editing, NOT in a preview)">purge</span>])</span> Documentation</h2>
 +
__NOTOC__ __NOEDITSECTION__
 +
{{ {{{1|{{FULLPAGENAME}}/doc}}} }}
 
</div>
 
</div>
}}
+
{{#if:{{{nocat|}}}||[[Category:Templates]]}}

Latest revision as of 21:19, 24 January 2022