2024-03-28 19:27:58 +00:00
|
|
|
title: $:/plugins/tiddlywiki/github-fork-ribbon/template
|
|
|
|
|
|
|
|
<!-- Parameters:
|
|
|
|
position: "right", "left", "right-bottom" and "left-bottom"
|
|
|
|
url: link target
|
|
|
|
text: ribbon text
|
|
|
|
color: defaults to "#aa0000" - dark red
|
|
|
|
top: offset from the top in px - eg: "30px"
|
|
|
|
bottom: offset from the bottom in px - No ;
|
|
|
|
left: offset from left in px - No ;
|
|
|
|
right: offset from right in px - No ;
|
|
|
|
fixed: "fixed" .. If ribbon is at the top, it can be "fixed". Bottom is always fixed
|
|
|
|
-->
|
2024-07-25 16:44:52 +00:00
|
|
|
\parameters (position:"right", url:"https://github.com/TiddlyWiki/TiddlyWiki5", text:"Fork me on ~GitHub" color:"#aa0000" top:"0" bottom:"0" left:"0" right:"0" fixed:"")
|
2024-03-28 19:27:58 +00:00
|
|
|
|
|
|
|
<style>
|
|
|
|
{{$:/plugins/tiddlywiki/github-fork-ribbon/styles}}
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<div class={{{ github-fork-ribbon-wrapper [<position>] [<fixed>] +[join[ ]] }}}>
|
|
|
|
<div class="github-fork-ribbon">
|
|
|
|
<a href=<<url>>>
|
|
|
|
<<text>>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|