Difference between revisions of "Template:Is Archive"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(fixed! I hope.)
(+cat, close enough)
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
{| class="messagebox" style="border: 1px solid #ddd; background: #eee; width: 80%; margin: 0 auto 1em"
+
{{#vardefine:arc_cpage|{{#if:{{{1|}}}|{{#rsplit:{{{1}}}|:|1}}|{{BASEPAGENAME}}}}}}{{
 +
#vardefine:arc_ns|{{#if:{{{1|}}}|{{#rsplit:{{{1}}}|:|0}}|{{TALKSPACE}}}}
 +
}}{| class="messagebox" style="border: 1px solid #ddd; background: #eee; width: 80%; margin: 0 auto 1em"
 
|-
 
|-
 
| style="padding: 0.5em" | [[Image:Crystal_Clear_app_file-manager.png|50px|Archive]]
 
| style="padding: 0.5em" | [[Image:Crystal_Clear_app_file-manager.png|50px|Archive]]
| style="padding: 0.5em" | This is an '''archive''' of old discussions. Please do not edit this page – instead, add new comments to the [[{{{1}}}|current talk page]].
+
| style="padding: 0.5em" | This is an '''archive''' of old discussions. Please do not edit this page – instead, add new comments to the [[{{#var:arc_ns}}:{{#var:arc_cpage}}|current talk page]].
 
|}<noinclude>
 
|}<noinclude>
  
Line 10: Line 12:
 
Makes: {{Is Archive|Talk:Trading}}
 
Makes: {{Is Archive|Talk:Trading}}
  
Also, see [[Template:Archive]].</noinclude>
+
Also, see [[Template:Archive]].
 +
[[Category:Message box templates]]</noinclude>

Latest revision as of 21:19, 1 January 2022

Archive This is an archive of old discussions. Please do not edit this page – instead, add new comments to the current talk page.

To be used on pages that are archives.

Example:

{{Is Archive|Talk:Trading}}

Makes:

Archive This is an archive of old discussions. Please do not edit this page – instead, add new comments to the current talk page.

Also, see Template:Archive.