Wiki Tips: Difference between revisions

From Chrysalis Archive
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 2: Line 2:
[[Category:Reference]]
[[Category:Reference]]
[[Category:Wiki tips]]
[[Category:Wiki tips]]
=== Templating ===
<div style="background-color:#eee; border:1px outset azure; padding:0 10px; float:left; zzzwidth:600px;  ">
<font color="gray"><big>'''Wiki Tips'''</big></font>
<div style="background-color:azure; border:1px outset azure; padding:0 40px; max-width:820px; margin:0 auto; ">
<pre>
Let's develop a user page header template...
{{Template:MenuWikiPeople}}
When a wiki page with the above line is saved, a red-line link appears.  The curly braces cause a trans-clusion of the template into the wiki page, but when empty appears in red.
For some convenience, add this template inside the above template, to create a link that puts the menu in edit.  I.e., click on the link in the menu to edit the menu.
{{EditTemplate | MenuWikiPeople }}
The EditTemplate is in the 'Template namespace' available with Advanced Search,
or this URL https://groupkos.com/chrysalis/index.php/Special:PrefixIndex?prefix=&namespace=10
</pre>
Add page links inside the menu template as needed, decorate to taste with CSS.
<div style="">

Latest revision as of 21:36, 9 April 2024


Templating

Wiki Tips

Let's develop a user page header template...

{{Template:MenuWikiPeople}}

When a wiki page with the above line is saved, a red-line link appears.  The curly braces cause a trans-clusion of the template into the wiki page, but when empty appears in red.

For some convenience, add this template inside the above template, to create a link that puts the menu in edit.  I.e., click on the link in the menu to edit the menu.

{{EditTemplate | MenuWikiPeople }}

 The EditTemplate is in the 'Template namespace' available with Advanced Search, 
 or this URL https://groupkos.com/chrysalis/index.php/Special:PrefixIndex?prefix=&namespace=10

Add page links inside the menu template as needed, decorate to taste with CSS.