Template:Pattern: Difference between revisions
From Halopedia, the Halo wiki
(whitespace is trimmed from parser functions. this fixes) |
m (Protected "Template:Pattern": High-traffic page ([Edit=Allow only Halopedia staff] (indefinite) [Move=Allow only Halopedia staff] (indefinite))) |
(No difference)
|
Latest revision as of 13:19, June 17, 2022
Purpose
To avoid having to enter the following code to achieve the proper link and italics:
Code: [[Hekar Taa-pattern blockade runner|''Hekar Taa''-pattern blockade runner]]
Result: Hekar Taa-pattern blockade runner
Usage
Most cases we want to provide a direct link to the article with the minimum of fuss.
Code: {{Pattern|Hekar Taa|blockade runner}}
Result: Hekar Taa-pattern blockade runner
Sometimes, we don't want to use the ship's type as the follow on text.
Code: {{Pattern|Hekar Taa|blockade runner|ship}}
Result: Hekar Taa-pattern ship
If we want to leave out the follow-on text altogether, we make the third parameter empty.
Code: {{Pattern|Hekar Taa|blockade runner|}} and the text that comes after.
Result: Hekar Taa-pattern and the text that comes after.