Difference between revisions of "Template:Documentation/preload"
From Project: Gorgon Wiki
m (→Sample output: Choice of table or vertical output) |
m (→Sample output: Added overflow:auto;) |
||
Line 35: | Line 35: | ||
! Code !! Output | ! Code !! Output | ||
|- | |- | ||
− | | style="background-color:silver;" | <code> | + | | style="background-color:silver; overflow:auto;" | <code> |
<nowiki>{{</nowiki>{{<includeonly>subst:</includeonly>#titleparts:{{<includeonly>subst:</includeonly>PAGENAME}}|1}}<nowiki>|foo1<!-- delete if N/A -->|foo2=<!-- delete if N/A -->}}</nowiki> | <nowiki>{{</nowiki>{{<includeonly>subst:</includeonly>#titleparts:{{<includeonly>subst:</includeonly>PAGENAME}}|1}}<nowiki>|foo1<!-- delete if N/A -->|foo2=<!-- delete if N/A -->}}</nowiki> | ||
</code> | </code> | ||
:gives... | :gives... | ||
− | | style="background-color:silver;" | | + | | style="background-color:silver; overflow:auto;" | |
{{{{<includeonly>subst:</includeonly>#titleparts:{{<includeonly>subst:</includeonly>PAGENAME}}|1}}|foo1<!-- delete if N/A -->|foo2=<!-- delete if N/A -->}} | {{{{<includeonly>subst:</includeonly>#titleparts:{{<includeonly>subst:</includeonly>PAGENAME}}|1}}|foo1<!-- delete if N/A -->|foo2=<!-- delete if N/A -->}} | ||
|} | |} | ||
Line 48: | Line 48: | ||
<dd><dl> | <dd><dl> | ||
===Sample:1=== | ===Sample:1=== | ||
− | <dt style="font-family:monospace,Courier; font-weight:normal; border:2px solid teal; border-radius:1em;"> | + | <dt style="font-family:monospace,Courier; font-weight:normal; border:2px solid teal; border-radius:1em; overflow:auto;"> |
<nowiki>{{</nowiki>{{<includeonly>subst:</includeonly>#titleparts:{{<includeonly>subst:</includeonly>PAGENAME}}|1}}<nowiki>|foo1<!-- delete if N/A -->|foo2=<!-- delete if N/A -->}}</nowiki> | <nowiki>{{</nowiki>{{<includeonly>subst:</includeonly>#titleparts:{{<includeonly>subst:</includeonly>PAGENAME}}|1}}<nowiki>|foo1<!-- delete if N/A -->|foo2=<!-- delete if N/A -->}}</nowiki> | ||
</dt> | </dt> | ||
<dd>gives...</dd> | <dd>gives...</dd> | ||
− | <dd style="border:2px solid teal; border-radius:1em;">{{{{<includeonly>subst:</includeonly>#titleparts:{{<includeonly>subst:</includeonly>PAGENAME}}|1}}|foo1<!-- delete if N/A -->|foo2=<!-- delete if N/A -->}}</dd> | + | <dd style="border:2px solid teal; border-radius:1em; overflow:auto;"> |
+ | {{{{<includeonly>subst:</includeonly>#titleparts:{{<includeonly>subst:</includeonly>PAGENAME}}|1}}|foo1<!-- delete if N/A -->|foo2=<!-- delete if N/A -->}} | ||
+ | </dd> | ||
</dl></dd> | </dl></dd> |
Latest revision as of 17:53, 10 May 2016
- Description
- This template is used to do something.
- Dependencies
-
- Uses (some CSS, JS, file, or other template).
- Uses for this documentation:
- {{SPW}} = Wikia specific to link back to original.
- {{t}} = To show clickable template mentions.
- {{para}} = To show parameter usage.
- {{-}} and {{Lorem ipsum}} = To format the output of the samples.
- Syntax
- Type
{{Documentation|param1|namedparam=}}
somewhere. - Parameters
-
- Recommended | Required | Optional:
|namedparameter=
- Your explanation here.
- Default:
|namedparameter=value
- Recommended | Required | Optional:
- Sample output
-
Sample output Code Output {{Documentation|foo1<!-- delete if N/A -->|foo2=<!-- delete if N/A -->}}
- gives...
Template documentation (for the above template, sometimes hidden or invisible) [create]- This template doesn't have any documentation yet! Help out by writing some. There may also be documentation on Wikia Templates which can be copied.
This template currently doesn't have any documentation; you can create it if you know how the template is used. (What is this?)
If you're done making changes, please refresh the text.
Please add categories and interwikis to foo1. (View all subpages of this page.) - {{Documentation|foo1<!-- delete if N/A -->|foo2=<!-- delete if N/A -->}}
- gives...
-
Template documentation (for the above template, sometimes hidden or invisible) [create]
- This template doesn't have any documentation yet! Help out by writing some. There may also be documentation on Wikia Templates which can be copied.
This template currently doesn't have any documentation; you can create it if you know how the template is used. (What is this?)
If you're done making changes, please refresh the text.
Please add categories and interwikis to foo1. (View all subpages of this page.)
Sample:1
- See also
-
- {{[[Template:|]]}}
- [[]]