Difference between revisions of "Template:Q"

From Trinity Desktop Project Wiki
Jump to navigation Jump to search
(Added helper template for FAQs)
 
(Added question links for easier copying)
Line 14: Line 14:
 
{{Q|1|What is the Trinity Control Center?}}
 
{{Q|1|What is the Trinity Control Center?}}
   
</noinclude><includeonly>= <span id="Q{{{1}}}" style='background-color: #f8f9fa; border: solid 1px #a2a9b1; color: #197C17; font-weight: bold; padding: 0 3px;'>Q{{{1}}}</span> {{{2}}} =</includeonly>
+
</noinclude><includeonly>= <span id="Q{{{1}}}" class="plainlinks" style='background-color: #f8f9fa; border: solid 1px #a2a9b1; font-weight: bold; padding: 0 3px;'>[{{fullurl:{{FULLPAGENAME}}#Q{{{1}}}}} Q{{{1}}}]</span> {{{2}}} =</includeonly>

Revision as of 10:39, 18 January 2022

Template:Q is a specialized template to be used in FAQ pages. It automatically generates a heading and a simplified short anchor (e.g. Q1) to make referring to questions in the FAQ easier.

Usage

Use this template instead of manually specifying the level 1 header for the question.

Examples

{{Q|1|What is the Trinity Control Center?}}

Q1 What is the Trinity Control Center?