From Test-Scratch-Wiki

(I think I did something wrong, so I tried fixing it,)
(the template was... broken, so I undid my last 2 changes)
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
| colspan="2" style="padding:7px 20px;background-color:#F7F7F7;font-size:1.2em;text-align:center;border-bottom:1px solid #E0E0E0; border-top-left-radius:8px;border-top-right-radius:8px;" | {{{name|{{PAGENAME}}}}}
 
| colspan="2" style="padding:7px 20px;background-color:#F7F7F7;font-size:1.2em;text-align:center;border-bottom:1px solid #E0E0E0; border-top-left-radius:8px;border-top-right-radius:8px;" | {{{name|{{PAGENAME}}}}}
 
|- align="center"
 
|- align="center"
{{#if: {{{resim|}}} | {{!}} colspan="2" style="padding:0.5em;" {{!}} {{#if: {{{sb|}}} | {{#tag: sb |{{{resim}}}|version="{{#ifeq:{{{sb}}}|2.0|2.0|3.0}}"}} | [[{{{resim}}}]] }} }}
+
{{#if: {{{image|}}} | {{!}} colspan="2" style="padding:0.5em;" {{!}} {{#if: {{{sb|}}} | {{#tag: sb |{{{image}}}|version="{{#ifeq:{{{sb}}}|2.0|2.0|3.0}}"}} | [[{{{image}}}]] }} }}
 
|-
 
|-
{{#if: {{{kategori|}}} | {{!}} '''Kategori''' {{!}}{{!}} {{{kategori}}} }}
+
{{#if: {{{category|}}} | {{!}} '''Kategori''' {{!}}{{!}} {{{category}}} }}
 
|-
 
|-
{{#if: {{{tür|}}} | {{!}} '''Tür''' {{!}}{{!}} {{{tür}}} }}
+
{{#if: {{{type|}}} | {{!}} '''Tür''' {{!}}{{!}} {{{type}}} }}
 
|-
 
|-
{{#if: {{{eklendi|}}} | {{!}} '''Eklendiği Sürüm''' {{!}}{{!}} {{{eklendi}}} }}
+
{{#if: {{{added|}}} | {{!}} '''Eklendiği Sürüm''' {{!}}{{!}} {{{added}}} }}
 
|-
 
|-
{{#if: {{{kaldırıldı|}}} | {{!}} '''Kaldırıldığı sürüm''' {{!}}{{!}} {{{kaldırıldı}}} }}
+
{{#if: {{{removed|}}} | {{!}} '''Kaldırıldığı sürüm''' {{!}}{{!}} {{{removed}}} }}
 
|}<noinclude><br style="clear:both;" />
 
|}<noinclude><br style="clear:both;" />
 
{{/belge}}[[Category:Tur/Diğer Blok Şablonları|Blok]]<!--
 
{{/belge}}[[Category:Tur/Diğer Blok Şablonları|Blok]]<!--
 
-->[[ru:Шаблон:Карточка блока]][[fr:Modèle:InfoBloc]]</noinclude>
 
-->[[ru:Шаблон:Карточка блока]][[fr:Modèle:InfoBloc]]</noinclude>

Latest revision as of 11:21, 20 July 2020

Tur/Blok

[düzenle] [geçmiş] [temizle]

Belge Şablon belgesi
Bu belge Template:Tur/Blok/belge'nin yansıtılması ile oluşmuştur.

This template can be used to describe Scratch blocks with their basic information and properties.

Example

{{block
| name       = Move () Steps
| image      = File:Move_()_Steps.png
| category   = [[Motion Blocks|Motion]]
| type       = [[Stack Block|Stack]]
| added      = 0.1
| removed    = none <!--only needed for articles on removed blocks-->
}}

produces:


Move () Steps
Move () Steps.png
Category Motion
Type Stack
Introduced in 0.1
Removed in none

For blocks that have no images uploaded yet:

{{block
| name     = Move () Steps
| image    = move () steps
| category = [[Motion Blocks|Motion]]
| type     = [[Stack Block|Stack]]
| added    = 0.1
| removed  = none <!--only needed for articles on removed blocks-->
| sb       = yes
}}


Move () Steps
move () steps
Category Motion
Type Stack
Introduced in 0.1
Removed in none

For blocks that only existed in version 1.4 or 2.0:

{{block
| name     = Sensor ()?
| image    = <sensor [button pressed v]?>
| category = [[PicoBoard Blocks|Motion]]
| type     = [[Boolean Block|Boolean]]
| added    = 2.0
| removed  = 3.0
| sb       = 2.0
}}


Sensor ()?
<sensor [button pressed v]?>
Category Motion
Type Boolean
Introduced in 2.0
Removed in 3.0