Anonymous

Difference between revisions of "Clicklaw Wikibooks Style Guide"

From Clicklaw Wikibooks
Line 83: Line 83:
To make an internal link, use two square brackets to open the link, followed by the name of the linked page, followed by two closing square brackets:  
To make an internal link, use two square brackets to open the link, followed by the name of the linked page, followed by two closing square brackets:  


:<code><nowiki>[[Name of page here]]</nowiki></code>
:<code><nowiki>[[Name of Page Here]]</nowiki></code>


Use a vertical bar "|" (the "pipe" symbol) to create a link while labeling it with a different name than the linked page. The first term inside the brackets is the name of the linked page (the page you would be taken to), while anything you type after the vertical bar is what that link looks like on the original page. Here are examples:
Use a vertical bar "|" (the "pipe" symbol) to create a link while labeling it with a different name than the linked page. The first term inside the brackets is the name of the linked page (the page you would be taken to), while anything you type after the vertical bar is what that link looks like on the original page. Here are examples:


:<code><nowiki>[[I want to write a will | writing a will]]</nowiki></code>
:<code><nowiki>[[I Want to Write a Will | writing a will]]</nowiki></code>
:<code><nowiki>[[Resource List | list of the best sources]]</nowiki></code>
:<code><nowiki>[[Resource List | list of the best sources]]</nowiki></code>


These will appear as:
These will appear as:
:* [[I want to write a will | writing a will]]  
:* [[I want to write a will | writing a will]]  
:* [[Resource List | list of the best sources]]  
:* [[Resource List | list of the best sources]]
 


=== External Links ===
=== External Links ===
3,220

edits