Templat: Viewedit: Perbedaan antara revisi
Dari GBI Danau Bogor Raya
k Penggantian teks - "float-right" menjadi "float-end" |
k Penggantian teks - "float-end float-end" menjadi "float-end" |
||
Baris 1: | Baris 1: | ||
<includeonly>{{#ifexist:{{{1}}}|{{#if:{{CURRENTLOGGEDUSER}}| | <includeonly>{{#ifexist:{{{1}}}|{{#if:{{CURRENTLOGGEDUSER}}| | ||
<div class=" | <div class="float-end small plainlinks p-0 m-0"> | ||
[{{fullurl:{{{1}}} }} <span class="btn btn-sm btn-outline-success pt-0 pe-1 pb-0 ps-1">v</span>] | [{{fullurl:{{{1}}} }} <span class="btn btn-sm btn-outline-success pt-0 pe-1 pb-0 ps-1">v</span>] | ||
[{{fullurl:{{{1}}}|action=edit}} <span class="btn btn-sm btn-outline-success pt-0 pe-1 pb-0 ps-1">e</span>] | [{{fullurl:{{{1}}}|action=edit}} <span class="btn btn-sm btn-outline-success pt-0 pe-1 pb-0 ps-1">e</span>] | ||
</div> | </div> | ||
}}}}</includeonly><noinclude>{{documentation}}</noinclude> | }}}}</includeonly><noinclude>{{documentation}}</noinclude> |
Revisi terkini sejak 3 September 2024 11.44
Dokumentasi templat
Usage
{{viewedit | ArticlePageName }}
Contoh:
{{viewedit | Templat:Viewedit }}
akan menampilkan tombol v (view) dan e (edit) di sebelah kanan halaman: