Difference between revisions of "Help:User-XXX-Link"

From Custom Mario Kart
Jump to navigation Jump to search
m
Line 1: Line 1:
 
This Wiki supports [[Author Reference]]s. The idea:
 
This Wiki supports [[Author Reference]]s. The idea:
# Each Author creates a template called '''user-XXX-Link''' where '''XXX''' is the user name.
+
# Each Author creates a template called '''User-XXX-Link''' where '''XXX''' is the user name.
 
# At the bottom of each product page ([[Custom Track]], [[Distribution]], [[Software]], ...) the user inserts the link.
 
# At the bottom of each product page ([[Custom Track]], [[Distribution]], [[Software]], ...) the user inserts the link.
 
# If adding new product pages the new pages must be added to the template.
 
# If adding new product pages the new pages must be added to the template.
Line 10: Line 10:
 
<ol>
 
<ol>
 
<li>
 
<li>
First enter in the search field the name '''<tt>template:user-MYNAME-Link</tt>''' and click '''&raquo;Go&laquo;'''.
+
First enter in the search field the name '''<tt>template:User-MYNAME-Link</tt>''' and click '''&raquo;Go&laquo;'''.
 
</li>
 
</li>
  
 
<li>
 
<li>
In the top of the page there is a sentence like: ''&raquo;Create the page "Template:user-MYNAME-Link" on this wiki!''&laquo;''. Follow the link.
+
In the top of the page there is a sentence like: ''&raquo;Create the page "Template:User-MYNAME-Link" on this wiki!''&laquo;''. Follow the link.
 
</li>
 
</li>
  
Line 20: Line 20:
 
Enter in the text window the following text ...
 
Enter in the text window the following text ...
 
<pre>
 
<pre>
<nowiki>{{subst:user-XXX-Link}}</nowiki>
+
<nowiki>{{subst:User-XXX-Link}}</nowiki>
 
</pre>
 
</pre>
 
... and save the page.
 
... and save the page.
Line 31: Line 31:
 
For each of you product pages go to the bottom and insert:
 
For each of you product pages go to the bottom and insert:
 
<pre>
 
<pre>
<nowiki>{{user-MYNAME-Link}}</nowiki>
+
<nowiki>{{User-MYNAME-Link}}</nowiki>
 
</pre>
 
</pre>
  

Revision as of 14:41, 11 August 2014

This Wiki supports Author References. The idea:

  1. Each Author creates a template called User-XXX-Link where XXX is the user name.
  2. At the bottom of each product page (Custom Track, Distribution, Software, ...) the user inserts the link.
  3. If adding new product pages the new pages must be added to the template.

Create a template

In all examples, replace the word MYNAME to your user name.

  1. First enter in the search field the name template:User-MYNAME-Link and click »Go«.
  2. In the top of the page there is a sentence like: »Create the page "Template:User-MYNAME-Link" on this wiki!«. Follow the link.
  3. Enter in the text window the following text ...
    {{subst:User-XXX-Link}}
    

    ... and save the page.

  4. Press »Edit« and edit the content of the template. Please don't change the layout.
  5. For each of you product pages go to the bottom and insert:
    {{User-MYNAME-Link}}
    
  6. Got to the page »Author Reference« and insert the same line in the correct position with respect to the alphabetic order.