LOFE:Guidelines: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{section|}}}|'''Section, tbd'''|[[Formatting Guidelines]]}}</includeonly><noinclude>This is a template for a link to the Formatting Guidelines from within the LOFE.
<includeonly>{{#if:{{{section|}}}|[[Formatting Guidelines#{{{section}}}|{{{section}}}]]|[[Formatting Guidelines]]}}</includeonly><noinclude>This is a template for a link to the Formatting Guidelines from within the LOFE.


'''NOTE:''' Currently these links go to a dummy version of the Guidelines on this test wiki; the template will need to be modified when the LOFE is moved to the main site.
'''NOTE:''' Currently these links go to a dummy version of the Guidelines on this test wiki; the template will need to be modified when the LOFE is moved to the main site.
Line 12: Line 12:
:Specifies a section in the Guidelines. The section name must be exactly as it appears in the Table of Contents in the Guidelines. By default, the text of the link is the  
:Specifies a section in the Guidelines. The section name must be exactly as it appears in the Table of Contents in the Guidelines. By default, the text of the link is the  
;text
;text
:Specifies a different text to be displayed in the link.
:Specifies a different text to be displayed in the link. (Not yet implemented)
</noinclude>
</noinclude>

Latest revision as of 01:25, 30 December 2025

This is a template for a link to the Formatting Guidelines from within the LOFE.

NOTE: Currently these links go to a dummy version of the Guidelines on this test wiki; the template will need to be modified when the LOFE is moved to the main site.

Calling this template with no arguments:

{{{LOFE:Guidelines}}}

creates a link directly to the Guidelines page called "Formatting Guidelines". The template also takes two optional arguments:

section
Specifies a section in the Guidelines. The section name must be exactly as it appears in the Table of Contents in the Guidelines. By default, the text of the link is the
text
Specifies a different text to be displayed in the link. (Not yet implemented)