We have been creating Wiki spaces with Markup language. How do we replicate what we want for our spaces with Rich text?
Asked by Tim Herzog:


Answers:
author: Timothy
body: Based on the comments that you replied, you should be reengineering your wiki markup and take advantage of Confluence's Blueprint functionality which is essentially a way to template pages.


author: Tim Herzog
body: #### `Home` {#toc-hId-1311829272}

**Set the edit restrictions of this page to only allow editing by the confluence-administrators Group**

` `

`{show-to:group=DC_Operators,confluence-administrators}[Returnto Data Center Operations|DCOps:Home Page]{show-to} `

`{float:right|width=200px}Click here for` `the [SpaceCertification] page for` `this` `space.{float} `

`h1. XXXXXXXX `

`h2. Application Summary `

`{include:AppSummary} `

`{show-to:space=XXXXXXXX:edit}[Edit|AppSummary|click toedit]{show-to} `

`h2. Documentation `

`{panel:title=Processes|borderStyle=solid|borderColor=#ccc|titleBGColor=#999900|bgColor=#cccc99} `

`{show-to:space=XXXXXXXX:edit} `

`- Collection of activities that takes one or more inputsand creates output that is of value to the customer (either external orinternal). `

`- Lists the suppliers, inputs, process steps, outputs andcustomers. `

`- Has measurable input/output. `

`- Describes "what"` `happens in accordance with the policies. `

`- Every process has an identified owner. `

`{create-page:parent=processes|template=NCSProcess|target=edit|prompt=Pleaseenter the name of the processs}Click here to add a new` `processes.{create-page} `

` `

`---- `

`{show-to} `

`{include:processes} `

`{panel} `

`\\ `

`{panel:title=Procedures|borderStyle=solid|borderColor=#ccc|titleBGColor=#5cc35c|bgColor=#ddfddd} `

`{show-to:space=XXXXXXXX:edit} `

`- Lists the detailed step-by-step instructions on how toaccomplish specific tasks defined within a process. `

`- Do not include inappropriate information like accesspasswords or private` `customer information. `

`{create-page:parent=procedures|template=NCSProcedure|target=edit|prompt=Pleaseenter the name of the procedure}Click here to add a new` `procedure. {create-page} `

` `

`---- `

`{show-to} `

`{include:procedures} `

`{panel} `

`\\ `

`{panel:title=Trouble Shooting|borderStyle=solid|borderColor=#ccc|titleBGColor=#3366ff|bgColor=#999fff} `

`{show-to:space=XXXXXXXX:edit} `

`- Define trouble shooting guidelines and directions. `

`{create-page:parent=troubleshooting|template=NCSTroubleShooting|target=edit|prompt=Pleaseenter the name for` `thetrouble shooting document}Click here to add a new` `document. {create-page} `

` `

`---- `

`{show-to} `

`{include:troubleshooting} `

`{panel} `

`\\ `

`{panel:title=Escalation andSchedules|borderStyle=solid|borderColor=#ccc|titleBGColor=#cc0066|bgColor=#cc8899}`

`{show-to:space=XXXXXXXX:edit} `

`- List ITSM assignee group. This is required for` `any application in production. `

`- Define maintenance windows, business lines affected `

`- Service Level Events and Service Level Agreements `

`- Escalation expectations `

`{create-page:parent=Escalation|template=Escalation|target=edit|prompt=Pleaseenter the name for` `theEscalation document}Click here to add a new` `document. {create-page} `

` `

`---- `

`{show-to} `

`{include:Escalation} `

`{panel} `

`\\ `

`{panel:title=Interfaces and Dependencies|borderStyle=solid|borderColor=#ccc|titleBGColor=#ff6600|bgColor=#ff9966} `

`{show-to:space=XXXXXXXX:edit} `

`- Sub pages in this` `section are for` `listing dependencies that will be usefulfor` `determiningthe impact of outages, troubleshooting the root cause of problems, and relatingproblems to other outages. Three pages have already been created for` `standard dependancies. `

`- The [Dedicated Hardware Peripheral Interfaces andDependencies|`http://vmimn14glbsm12/display/XXXXXXXX/Dedicated+Hardware+Peripheral+Interfaces+and+Dependencies]page`is for listing all the routers, switches, phone systems, mainframes and otherhardware that this application is dependent upon. `

`- The [User Interfaces and Dependencies|`http://vmimn14glbsm12/display/XXXXXXXX/User+Interfaces+and+Dependencies]page`is for all the Business Lines that use or are impacted by this application andtheir technical contacts. `

`- The [Connections and Communications Interfaces andDependencies|`http://vmimn14glbsm12/display/XXXXXXXX/Connections+and+Communications+Interfaces+and+Dependencies]page`is for listing transmissions, autosys jobs, online and batch processing,backups, etc. that this application is dependent upon and that are dependentupon this application and their SLAs. `

`- If there are interfaces or dependencies that don't fit inone of the above categories, {create-page:parent=Interfaces and DependenciesSubpage |template=NCSProcess|target=edit|prompt=Please enter the name of theInterface and/or Dependancy}click here to add a new` `Interface or Dependency. {create-page} `

` `

`---- `

`{show-to} `

`{include:Interfaces and Dependencies Subpage} `

`{panel} `

`h2. Monitoring `

`{panel:title=Monitoring|borderStyle=solid|borderColor=#ccc|titleBGColor=#ffcc00|bgColor=#ffff99} `

`{show-to:space=XXXXXXXX:edit} `

`- Define CIC Alerts that Operations will monitor and theresponse to that Alert. `

`- Define Autosys Jobs that Operations will monitor and theresponse to job failures. `

`- Define any other monitoring necessary. `

`{create-page:parent=Monitoring|template=Monitoring|target=edit|prompt=Pleaseenter the name for` `theMonitoring document}Click here to add a new` `document. {create-page} `

` `

`---- `

`{show-to} `

`{include:Monitoring} `

`{panel} `

`h2. Reference `

`{panel:title=Reference|borderStyle=solid|borderColor=#ccc|titleBGColor=#009999|bgColor=#99cc99}`

`{show-to:space=XXXXXXXX:edit} `

`- Attach diagrams or other non-text files. `

`{create-page:parent=reference|template=Reference|target=edit|prompt=Pleaseenter the name of the new` `reference page}Click here to add a new` `reference page. {create-page} \\\\{link-to:page attachments|page=reference}Click here to add a new` `reference attachment.{link-to} `

` `

`---- `

`{show-to} `

`{include:Reference} `

`{panel}`

` `

` `

#### Pagetree (No Parent) {#toc-hId--1240327689}

**Set the edit restrictions of this page to only allow editing by the confluence-administrators Group**

`{pagetree}`

#### SpaceCertification (No Parent) {#toc-hId-502482646}

**Set the view restrictions of this page to only allow viewing by the confluence-administrators, confluence-content-administrators, DC_Operators, and the related "APL_____" application Groups**

`h2. To Certify This Space: `

`# Click on edit in the box below `

`# Click on the Rich Text tab `

`# In the text field, add your user id and current date tothe bottom of the list `

`# When finished, click on the Save button `

`# This will certify that all of the information has beencertified as correct until next quarter `

`\\`

`{float:left|width=400px}{edit-include:Certification}{float}`

`\\ `

`{color:red} `

`The contents of this` `space have been reviewed and certified tobe correct and current by {page-info:modified-user|page=Certification} on{page-info:modified-date|page=Certification}.{color} `

` `

`\\`

{user list \| group = \<add appropriate group name\>}

#### Certification {#toc-hId--2049674315}

`Userid and mm/dd/yyyy`

AppSummary (Parent is Home**)**

**Do not set any restrictions for this page**.

`h3. Aliases: `

`* `

` `

`h3. Impact Assessment: `

` `

`(A clear definition of how critical this` `is to the Enterprise, Business Line(s), orCustomers in the event of downtime or latency, i.e. - financial impact,reputation, daily functions, who would be impacted and how) `

`\\ `

`\\ `

`\\ `

` `

` `

`h3. User base: `

` `

`(Number and type of users) `

`\\ `

`\\ `

`\\ `

`\\ `

` `

`|| CAR ID || DR Tier || `

`| | |`

Procedures (Parent is Home**)**

**Set the edit restrictions of this page to only allow editing by the confluence-administrators Group**

`{panel:borderStyle=none|borderColor=#ccc|bgColor=#ddfddd} `

`{children} `

`{panel}`

Processes (Parent is Home**)**

**Set the edit restrictions of this page to only allow editing by the confluence-administrators Group**

`{panel:borderStyle=none|borderColor=#ccc|titleBGColor=#cccc99|bgColor=#cccc99} `

`{children} `

`{panel}`

#### Reference (Parent is Home) {#toc-hId--306863980}

**Do not set any restrictions for this page**.

`{children} `

`{attachments}`

#### Troubleshooting (Parent is Home) {#toc-hId-1435946355}

**Set the edit restrictions of this page to only allow editing by the confluence-administrators Group**

`{panel:borderStyle=none|borderColor=#ccc|bgColor=#999fff} `

`{children}{panel}`

Monitoring (Parent is Home**)**

**Set the edit restrictions of this page to only allow editing by the confluence-administrators Group**

`{panel:borderStyle=none|borderColor=#ccc|bgColor=#ffff99} `

`{children}{panel}`

#### Escalation (Parent is Home) {#toc-hId--1116210606}

**Set the edit restrictions of this page to only allow editing by the confluence-administrators Group**

`{panel:borderStyle=none|borderColor=#ccc|bgColor=#cc8899} `

`{children}{panel}`

Interfaces and Dependencies Subpage (Parent is Home**)**

**Parent is HOME, set the edit restrictions of this page to only allow editing by the confluence-administrators Group**.

`{panel:borderStyle=none|borderColor=#ccc |borderColor=#ccc|titleBGColor=#ff6600|bgColor=#ff9966} `

`{children} `

`{panel}`

#### Connections and Communications Interfaces and Dependencies (Parent is Interfaces and Dependencies Subpage) {#toc-hId-626599729}

**Don't set any editing or viewing restrictions on this page**.

`h2. Connections and Communications Interfaces andDependencies `

` `

`Please list transmissions, autosys jobs,backups, etc. that this` `application is dependent upon and that are dependent upon this` `application.`

Dedicated Hardware Peripheral Interfaces and Dependencies (Parent is Interfaces and Dependencies Subpage**)**

**Don't set any editing or viewing restrictions on this page**.

`h2. Dedicated Hardware Peripheral Interfaces andDependencies `

` `

`Please list all the routers, switches,phone systems, mainframes and other hardware that this` `application is dependent upon.`

User Interfaces and Dependencies (Parent is Interfaces and Dependencies Subpage**)**

**Don't set any editing or viewing restrictions on this page**.

`h2. User Interfaces and Dependencies `

` `

`Please list all the Business Lines thatuse or are impacted by this` `application and their technical contacts.`

Operator view of Application (parent is Data Center Operations:MT Applications**)**

**Name the page the application name which was used for the space or by the name Operations will know it by best.
Edit below for correct application name.**

`{composition-setup} `

`cloak.toggle.exclusive=false`

`{composition-setup} `

` `

`h1. XXXXXXXX `

` `

`{include:XXXXXXXX:appsummary} `

`{section}{column:width=30%} `

`{include:XXXXXXXX:pagetree} `

`{column} `

`{column:width=70%} `

`h3. {toggle-cloak:id=processes} Processes `

`{cloak:id=processes}{include:XXXXXXXX:processes}{cloak} `

`h3. {toggle-cloak:id=procedures} Procedures `

`{cloak:id=procedures|visible=true}{include:XXXXXXXX:procedures}{cloak}`

`h3. {toggle-cloak:id=troubleshooting}Troubleshooting `

`{cloak:id=troubleshooting}{include:XXXXXXXX:troubleshooting}{cloak}`

`h3. {toggle-cloak:id=servers}Servers `

`{cloak:id=servers}{panel:borderStyle=none|bgColor=#FFFFCE} `

`* {newwindow:Related Servers in Server ConfigurationManagement}`http://scm.us.bank-dns.com/Reports/WebFocusReports.aspx{newwindow`} `

`{panel}{cloak} `

`h3. {toggle-cloak:id=monitoring}Monitoring `

`{cloak:id=monitoring}{include:XXXXXXXX:Monitoring}{cloak} `

`h3. {toggle-cloak:id=escalation}Escalation and Schedules `

`{cloak:id=escalation}{include:XXXXXXXX:Escalation}{cloak} `

`h3. {toggle-cloak:id=reference}Reference `

`{cloak:id=reference}{include:XXXXXXXX:reference}{cloak} `

`{column}{section}`


author: Tim Herzog
body: We had been using this code in old versions of the Wiki. When updates would be applied the code would not function as it had in the past so we would modify the Markup code to make it work in the new versions. When we create Wiki spaces for various groups within our company we use this code to make the Wiki spaces look the same and perform for the users the same. But we have to add this code in multiple places which makes creating the Wiki spaces very time consuming (and boring).

We are looking to have a template users of the Wiki can use which is the same for all users; a template. It would be good to create these Wiki spaces appropriately with the new versions of the Wiki product, making the Wiki spaces as you have designed the product to be used.

Any assistance with this would be very helpful. Thank you for your interest! Is there a way I can attach a document showing you the Markup code we use? I will add some of the code in another response.


author: Timothy
body: How were you creating spaces with Wiki Markup?


Tags: confluence-administration