Difference between revisions of "350 Santa Fe Wiki Markup Quick Reference"
(→Tables) |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Category:Editing]] | [[Category:Editing]] | ||
− | === | + | === Citations === |
'''Citation Markup Examples''': | '''Citation Markup Examples''': | ||
<blockquote><nowiki> | <blockquote><nowiki> | ||
Line 6: | Line 6: | ||
</nowiki></blockquote> | </nowiki></blockquote> | ||
+ | === Titles === | ||
'''Hides the title of a page so you can use a different title''': | '''Hides the title of a page so you can use a different title''': | ||
<blockquote><nowiki> | <blockquote><nowiki> | ||
{{DISPLAYTITLE:<span style="position: absolute; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px);">{{FULLPAGENAME}}</span>}}</nowiki></blockquote> | {{DISPLAYTITLE:<span style="position: absolute; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px);">{{FULLPAGENAME}}</span>}}</nowiki></blockquote> | ||
+ | === Panels === | ||
'''Add a Synopsis panel''' for article archive entries | '''Add a Synopsis panel''' for article archive entries | ||
Line 60: | Line 62: | ||
<nowiki>[[Cateogory:<name>]] [[Category...</nowiki> | <nowiki>[[Cateogory:<name>]] [[Category...</nowiki> | ||
− | Category names in use are: | + | See [[Special:Categories]] for an up to date list. |
+ | |||
+ | <!-- Category names in use are: | ||
* Archives | * Archives | ||
* Editing | * Editing | ||
+ | * Education | ||
+ | * Farming | ||
* Industry | * Industry | ||
* Legislation | * Legislation | ||
+ | * Media | ||
* Miscellany | * Miscellany | ||
* Problem | * Problem | ||
* Resilience | * Resilience | ||
+ | * Simulations | ||
* Solutions | * Solutions | ||
+ | * State Agencies | ||
+ | * Stub | ||
+ | * Training | ||
+ | |||
+ | --> | ||
+ | |||
+ | === Sortable Tables === | ||
+ | Sortable tables can follow this example. Note that different data types can be specified. | ||
− | + | '''Markup''' | |
− | Markup | ||
<pre> | <pre> | ||
<nowiki> | <nowiki> | ||
− | {| class="wikitable sortable" | + | {|class="wikitable sortable" |
− | | | + | !data-sort-type="date"|Date!!Name!!Height!!data-sort-type="number"|Salary |
− | ! | ||
− | ! | ||
− | |||
|- | |- | ||
− | + | |01.10.1977||Smith||1.85||1,000.000 | |
− | |||
|- | |- | ||
− | | 1 | + | |11.6.1972||Ray||1.89||900.000 |
− | | | ||
|- | |- | ||
− | | 2 | + | |1.9.1992||Bianchi||1.72||2,000.50 |
− | |||
|} | |} | ||
</nowiki> | </nowiki> | ||
</pre> | </pre> | ||
− | ''' | + | '''Result''' |
− | {| class="wikitable sortable" | + | {|class="wikitable sortable" |
− | | | + | !data-sort-type="date"|Date!!Name!!Height!!data-sort-type="number"|Salary |
− | ! | ||
− | ! | ||
− | |||
|- | |- | ||
− | + | |01.10.1977||Smith||1.85||1,000.000 | |
− | |||
|- | |- | ||
− | | 1 | + | |11.6.1972||Ray||1.89||900.000 |
− | | | ||
|- | |- | ||
− | | 2 | + | |1.9.1992||Bianchi||1.72||2,000.50 |
− | |||
|} | |} | ||
+ | |||
+ | See more at: | ||
+ | |||
+ | :[https://meta.wikimedia.org/wiki/Help:Sorting#:~:text=Tables%20can%20be%20made%20sortable,each%20of%20its%20header%20cells "Sortable Tables"] |
Latest revision as of 18:36, 29 June 2020
Citations
Citation Markup Examples:
<ref name="MyPaperTag1"> 350SF White paper, John Doe, et al., Jan. 2020</ref>
Titles
Hides the title of a page so you can use a different title:
{{DISPLAYTITLE:<span style="position: absolute; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px);">{{FULLPAGENAME}}</span>}}
Panels
Add a Synopsis panel for article archive entries
<blockquote style="background-color:#e4ece1; border:1px solid #4d4d4d;padding:10px 20px;"> '''Synopsis by <name or initials> <date>'''
Your synopsis text goes here.
</blockquote>
Example
Synopsis by <name or initials> <date>
Your synopsis text goes here.
Add a Highlight panel
<blockquote style="padding:10px 20px;border:1px solid #ccc;width:50%;background-color:#eee;">
Your content goes here.
</blockquote>
Example
Your content goes here.
Categories
Add a Category
When creating a new page, please include at least one category. This can be placed at the top of the page. Once saved, a panel at the bottom of the page will display the Category name chosen. Multiple entries can be included. For example, this page is in the Editing Category.
[[Cateogory:<name>]] [[Category...
See Special:Categories for an up to date list.
Sortable Tables
Sortable tables can follow this example. Note that different data types can be specified.
Markup
{|class="wikitable sortable" !data-sort-type="date"|Date!!Name!!Height!!data-sort-type="number"|Salary |- |01.10.1977||Smith||1.85||1,000.000 |- |11.6.1972||Ray||1.89||900.000 |- |1.9.1992||Bianchi||1.72||2,000.50 |}
Result
Date | Name | Height | Salary |
---|---|---|---|
01.10.1977 | Smith | 1.85 | 1,000.000 |
11.6.1972 | Ray | 1.89 | 900.000 |
1.9.1992 | Bianchi | 1.72 | 2,000.50 |
See more at: