Template:Subpage style: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
(guts of to approve template removed)
imported>Chris Day
No edit summary
Line 1: Line 1:
<includeonly><div align="left" border="0" style="background-color: #cccccc; margin:0.5em;position:relative;">
<includeonly>{{#ifexist:{{{basepagename|}}}/Approval|
|'''Create "approval" page.'''
<inputbox>
type=create
default=ARTICLE_NAME/Approval
preload=Template:Subpages_name3
editintro='''Just hit save!'''
buttonlabel=Create "approval" page
</inputbox>
<center>(1) Replace ARTICLE_NAME with the name you used in Step 1, and press the button.<br>(2) Save (you'll see <nowiki>{{subpages}}</nowiki> in the box--leave it there).</center>}}
{{#ifexist:{{{basepagename|}}}/Unused|
|'''Create "unused" page.'''
<inputbox>
type=create
default=ARTICLE_NAME/Unused
preload=Template:Subpages_name3
editintro='''Just hit save!'''
buttonlabel=Create "unused" page
</inputbox>
<center>(1) Replace ARTICLE_NAME with the name you used in Step 1, and press the button.<br>(2) Save (you'll see <nowiki>{{subpages}}</nowiki> in the box--leave it there).</center>}}
{{#ifexist:Talk:{{{basepagename|}}}|
|'''Create "Talk" page.'''
<inputbox>
type=create
default=Talk:ARTICLE_NAME
preload=Template:Subpages_name3
editintro='''Just hit save!'''
buttonlabel=Create "Talk" page
</inputbox>
<center>(1) Replace ARTICLE_NAME with the name you used in Step 1, and press the button.<br>(2) Save (you'll see <nowiki>{{subpages}}</nowiki> in the box--leave it there).</center>}}
<div align="left" border="0" style="background-color: #cccccc; margin:0.5em;position:relative;">
{|class=noprint width="100%" border="0" cellpadding="1" cellspacing="0" style="background:#ffffff"
{|class=noprint width="100%" border="0" cellpadding="1" cellspacing="0" style="background:#ffffff"
|-
|-

Revision as of 12:57, 7 October 2007


Usage

See CZ:Using the Subpages template for information on how to use this template. See CZ:Subpages for an introduction to the concept and our use of subpages.

Examples of this templates use can be found at the Test article cluster (unapproved) and the Biology cluster (approved).