Difference between revisions of "Template:Q"

From Trinity Desktop Project Wiki
Jump to navigation Jump to search
(Added keywords option and parameters desription)
m (Fixed positioning)
 
Line 20: Line 20:
   
 
</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}}} =
 
</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}}} =
<div style="text-align: right; margin-top: -1.12em /* 188% * 0.6em */; color: #8A8A8A;">'''Keywords:''' {{{3}}}</div></includeonly>
+
<div style="text-align: right; margin-top: -1.12em; /* 188% * 0.6em */ color: #8A8A8A;">'''Keywords:''' {{{3}}}</div></includeonly>

Latest revision as of 11:26, 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.

Parameters:

  1. Question number/identifier
  2. The question itself
  3. Keywords

Examples

{{Q|1|What is the Trinity Control Center?|options, settings, configuration}}

Q1 What is the Trinity Control Center?

Keywords: options, settings, configuration