Template:See also: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><div role="note" class="hatnote noexcerpt">See also: {{#if: {{{custom|}}} | [[{{{1|}}}{{!}}{{{custom|}}}]]|{{#if: {{{1|}}} | [[{{{1|}}}]] | {{color|red|Error! No link!}}}}}}{{#if: {{{3|}}} | ,}} {{#if: {{{3|}}} | | {{#if: {{{2|}}} | and |}}}} {{#if: {{{custom2|}}} | [[{{{2|}}}{{!}}{{{custom2|}}}]]|{{#if: {{{2|}}} | [[{{{2|}}}]]}}}}{{#if: {{{4|}}} | ,}} {{#if: {{{4|}}} | | {{#if: {{{3|}}} | and |}}}}  {{#if: {{{custom3|}}} | [[{{{3|}}}{{!}}{{{custom3|}}}]]|{{#if: {{{3|}}} | [[{{{3|}}}]]}}}}{{#if: {{{5|}}} | ,}} {{#if: {{{5|}}} | | {{#if: {{{4|}}} | and |}}}} {{#if: {{{custom4|}}} | [[{{{4|}}}{{!}}{{{custom4|}}}]]|{{#if: {{{4|}}} | [[{{{4|}}}]]}}}} {{#if: {{{custom5|}}} | and [[{{{5|}}}{{!}}{{{custom5|}}}]]|{{#if: {{{5|}}} | and [[{{{5|}}}]]}}}}</div></includeonly><noinclude>{{documentation|content=Inserts a ''see also'' onto a page, as a hatnote.
<includeonly><div role="note" class="hatnote noexcerpt">See also: {{#if: {{{custom|}}} | [[{{{1|}}}{{!}}{{{custom|}}}]]|{{#if: {{{1|}}} | [[{{{1|}}}]] | {{color|red|Error! No link!}}}}}}{{#if: {{{3|}}} | ,}} {{#if: {{{3|}}} | | {{#if: {{{2|}}} | and |}}}} {{#if: {{{custom2|}}} | [[{{{2|}}}{{!}}{{{custom2|}}}]]|{{#if: {{{2|}}} | [[{{{2|}}}]]}}}}{{#if: {{{4|}}} | ,}} {{#if: {{{4|}}} | | {{#if: {{{3|}}} | and |}}}}  {{#if: {{{custom3|}}} | [[{{{3|}}}{{!}}{{{custom3|}}}]]|{{#if: {{{3|}}} | [[{{{3|}}}]]}}}}{{#if: {{{5|}}} | ,}} {{#if: {{{5|}}} | | {{#if: {{{4|}}} | and |}}}} {{#if: {{{custom4|}}} | [[{{{4|}}}{{!}}{{{custom4|}}}]]|{{#if: {{{4|}}} | [[{{{4|}}}]]}}}} {{#if: {{{custom5|}}} | and [[{{{5|}}}{{!}}{{{custom5|}}}]] | {{#if: {{{5|}}} | and [[{{{5|}}}]]}}}}</div></includeonly><noinclude>{{documentation|content=Inserts a ''see also'' onto a page, as a hatnote.


=== Example 1 ===
=== Example 1 ===
Line 38: Line 38:


; Wikitext
; Wikitext
<pre>{{See also|Hatnote|Hatnote|Hatnote|Hatnote|Hatnote|custom=Custom text|custom2=Custom text 2|Custom5=Custom text 5}}</pre>
<pre>{{See also|Hatnote|Hatnote|Hatnote|Hatnote|Hatnote|custom=Custom text|custom2=Custom text 2|custom5=Custom text 5}}</pre>


; Result
; Result
{{See also|Hatnote|Hatnote|Hatnote|Hatnote|Hatnote|custom=Custom text|custom2=Custom text 2|Custom5=Custom text 5}}
{{See also|Hatnote|Hatnote|Hatnote|Hatnote|Hatnote|custom=Custom text|custom2=Custom text 2|custom5=Custom text 5}}


[[Category:Templates]]
[[Category:Templates]]

Revision as of 13:50, 16 December 2023

Template documentation

Inserts a see also onto a page, as a hatnote.

Example 1

Wikitext
{{See also|Hatnote}}
Result
See also: Hatnote

Use the custom parameter to att a custom text:

Wikitext
{{See also|Hatnote|custom=Custom text}}
Result
See also: Custom text

Example 2

Multiple links can be added.

Wikitext
{{See also|Hatnote|Hatnote}}
Result
See also: Hatnote and hatnote
Wikitext
{{See also|Hatnote|Hatnote|custom=Custom text|custom2=Custom text 2}}
Result
See also: Custom text and Custom text 2

Example 3

Up to a maximum of 5.

Wikitext
{{See also|Hatnote|Hatnote|Hatnote|Hatnote|Hatnote}}
Result
Wikitext
{{See also|Hatnote|Hatnote|Hatnote|Hatnote|Hatnote|custom=Custom text|custom2=Custom text 2|custom5=Custom text 5}}
Result

Template data

No description.

Template parameters

ParameterDescriptionTypeStatus
Link1

no description

Unknownoptional
customcustom

no description

Unknownoptional