Wiki Markup |
---|
h1. Notation Guide? Lolwut? |
...
{anchor:scrolltome}Kaikki wiki-merkkaukset löytyvät notation guidesta: |
...
Merkkaukset
Lisää alasivu
...
[https://wiki.metropolia.fi/renderer/notationhelp.action] tai Valitse edit page >>> Wiki Markup >>>> oikeasta reunasta linkki: Full notation guide Confluencen dokumentaatio >>> [http://confluence.atlassian.com/display/DOC/Confluence+Documentation+Home] h1. Merkkaukset {anchor:comehere} h2. Lisää alasivu {quote} {add-page:parent=@self |
...
}Click to add page{add-page} {quote} |
...
Koodi: |
...
{code |
} {add-page:parent=@self|parent=Page Parent}Click to add page{add-page} {code} Selitys: |
...
{quote} Generates an 'Add Page' link which, when clicked, can take the user directly to a template and/or set the page parent. |
...
* *template* \- (optional) the name of the template to use when creating the page. |
...
* *live* \- (optional) if set to 'true', the template will be live when the page is created. Defaults to false. |
...
* *parent* \- (optional) the name of the parent page (empty by default). May also have the following markers: |
...
** *@self* \- (default) the parent will be the page the macro is in. |
...
** *@parent* \- the parent will be the parent of the page the macro is in.
** *@home* \- the parent will be home page for the Space the page is in.
* *title* \- (optional) if you want popup text to appear when the mouse is hovered over the link, enter it here.
* *labels* \- (optional) the list of labels to apply to the new page. Does not work for non-live templates.
* *allowRename* \- (optional) if set to true, the user will be allowed to rename the page while it is being created.
{quote}
h2. DIV
{quote}
{div:class=name|style=css|align=align|title=title|id=id|dir=dir|lang=lang}content{div}
{quote}
Koodi:
{code}
{div:class=name|style=css|align=align|title=title|id=id|dir=dir|lang=lang}content{div}
{code}
Selitys:
{quote}
Wraps content in a div tag with optional class name and styles for the tag.
Do not include quotes in the class name or styles.
Parameters:
id - A unique id for the element
class - The class of the element
title - Text to display in a tool tip
style - An inline style definition
dir - Sets the text direction
lang - Sets the language code
{quote}
Huom\!
{quote}
Jos tarvitset sisäkkäisiä elementtejä, lisää perään numero 1-5. Esim. div1
{quote}
h2. Anchor
{quote}
[Alkuun|#comehere|ToolTip]
{quote}
Koodi:
{code}
{anchor:comehere}
...
[Alkuun|#comehere|ToolTip]
{code}
Huom\!
{quote}
Ei toimi preview-tilassa.
{quote}
h2. Span
{quote}
{span:id=CSSID|class=CSSClass|style=INLINECSS}Muotoiltua tekstiä{span}
{quote}
Koodi:
{code}
{span:id=CSSID|class=CSSClass|style=INLINECSS}Muotoiltua tekstiä{span}
{code}
Span-makro ja muu wiki-markup:
{style}
.mikal_mouseover{
color:black;
font-weight:normal;
font-weight:bold;
}
.mikal_mouseover:hover{
color:silver;
}
a{text-decoration:none;}
{style}
[{span:class=mikal_mouseover}linkki{span}|http://www.google.fi]
{code}
{style}
.mikal_mouseover{
color:black;
font-weight:normal;
text-decoration:none;
font-weight:bold;
}
.mikal_mouseover:hover{
color:silver;
text-decoration:underline;
}
{style}
[{span:class=mikal_mouseover}linkki{span}|http://www.google.fi]
{code}
h2. RSS Feed
{quote}
[!rss_feed.gif!|http://wiki.metropolia.fi/createrssfeed.action?types=page&pageSubTypes=comment&pageSubTypes=attachment&types=blogpost&blogpostSubTypes=comment&blogpostSubTypes=attachment&types=mail&spaces=d11&title=d11&labelString=&rssType=rss2&maxResults=20&timeSpan=10&publicFeed=true&showDiff=true]
{quote}
Koodi:
{code}
[!rss_feed.gif!|http://wiki.metropolia.fi/spaces/createrssfeed.action?types=page&types=comment&types=blogpost&types=mail&types=attachment&spaces=d11&maxResults=15&title=\[Digitaalinen+viestint%C3%A4+2011\]+All+Content+Feed&publicFeed=true&showDiff=true]
{code}
Selitys:
{quote}
-Siirry ensin wiki-tilaan (esim. d11), jonne haluat luoda RSS-feedin. Valitse oikealta ylhäältä Browse > Advanced. Seuraavaksi vasemman reunan valikosta Subscribe > RSS Feed-
{quote}
h2. Nappula
h1. Pluginit
h2. Perushaku omalla sivulla
{quote}
{search-box:space=~mikakli}
{quote}
{code}
{search-box:space=~mikakli}
{code}
Parametrit:
{quote}
* *all=true* \- määrittää koko wikin hakualueeksi
* *space* \- rajaa haun määritettyyn tilaan
{quote}
h2. Livesearch
{quote}
{livesearch:id=etusivu|spaceKey=~mikakli}
{quote}
{code}
{livesearch:id=etusivu|spaceKey=~mikakli}
{code}
Parametrit:
{quote}
* *id* \- erittelee livesearch-elementin.
* *spaceKey* \- rajaa haun määritettyyn tilaan
{quote}
h2. Päivitykset 1
{quote}
{recently-updated:spaces=d11|showProfilePic=true}
{quote}
Koodi:
{code}
{recently-updated:spaces=d11|showProfilePic=true}
{code}
h2. Päivitykset 2
{quote}
{recently-updated-dashboard:spaces=d11|showProfilePic=true}
{quote}
Koodi:
{code}
{recently-updated-dashboard:spaces=d11|showProfilePic=true}
{code}
h2. Päivitykset 3
{quote}
{gadget:url=rest/gadgets/1.0/g/com.atlassian.streams.confluence:activitystream-gadget/gadgets/conf-activitystream-gadget.xml}title=P%C3%A4ivitykset%203&keys=d11&username=&numofentries=10&isConfigured=true&refresh=false{gadget}
{quote}
Koodi:
{code}
{gadget:url=rest/gadgets/1.0/g/com.atlassian.streams.confluence:activitystream-gadget/gadgets/conf-activitystream-gadget.xml}title=P%C3%A4ivitykset%203&keys=d11&username=&numofentries=10&isConfigured=true&refresh=false{gadget}
{code}
h2. Table of Contents
{quote}
{toc:outline=true|style=square|indent=10px||separator=pipeminLevel=1|class=CSSClass}
{quote}
Koodi:
{code}
{toc:outline=true|style=square|indent=10px|separator=pipe|minLevel=1|class=CSSClass}
{code}
h2. Pagetree
{quote}
{pagetree:root=@home|sort=modified|excerpt=true|reverse=true|searchBox=true|expandCollapseAll=true}
{quote}
Koodi:
{code}
{pagetree:root=@home|sort=modified|excerpt=true|reverse=true|searchBox=true|expandCollapseAll=true}
{code} |