Difference between revisions of "Template:Is Archive"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(New page: {| 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...)
 
m (base page name)
 
(5 intermediate revisions by 2 users 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 [[{{{source}}}|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>
  
 
To be used on pages that are archives.
 
To be used on pages that are archives.
 +
 +
Example: <pre><nowiki>{{Is Archive|Talk:Trading}}</nowiki></pre>
 +
Makes: {{Is Archive|Talk:Trading}}
  
 
Also, see [[Template:Archive]].</noinclude>
 
Also, see [[Template:Archive]].</noinclude>

Latest revision as of 01:15, 26 April 2013

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.